The class Triangulation_face_base_with_info_2<Info,Traits,Fb> is a model of the concept TriangulationFaceBase_2 to be plugged into the triangulation data structure of a triangulation class. It provides an easy way to add some user defined information in the faces of a triangulation.
#include <CGAL/Triangulation_face_base_with_info_2.h>
The first template argument is the information the user would like to add to a face. It has to be DefaultConstructible and Assignable.
The second template argument is a geometric traits class and is actually not used in Triangulation_face_base_with_info_2<Info,Traits,Fb> .
The third parameter is a face base class from which Triangulation_face_base_with_info_2<Info,Traits,Fb> derives.
|
|
|
| Returns a const reference to the object of type Info stored in the face. |
|
| Returns a reference to the object of type Info stored in the face. |