#include <CGAL/Triangulation_face_base_with_info_2.h>
Inherits Fb.
template<typename Info, typename Traits, typename Fb>
class CGAL::Triangulation_face_base_with_info_2< Info, Traits, Fb >
The class Triangulation_face_base_with_info_2
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.
- Template Parameters
-
- Is Model Of:
- Because
Triangulation_face_base_with_info_2
derives from the class instantiating its third parameter, it will be a model of the same face base concept as its parameter: TriangulationFaceBase_2
, ConstrainedTriangulationFaceBase_2
, or RegularTriangulationFaceBase_2
- See also
CGAL::Triangulation_face_base_2<Traits,Fb>
-
CGAL::Constrained_triangulation_face_base_2<Traits,Fb>
-
CGAL::Regular_triangulation_face_base_2<Traits,Fb>
- Examples
- Triangulation_2/colored_face.cpp, and Triangulation_2/polygon_triangulation.cpp.
|
const Info & | info () const |
| Returns a const reference to the object of type Info stored in the face. More...
|
|
Info & | info () |
| Returns a reference to the object of type Info stored in the face. More...
|
|
◆ Info
template<typename Info , typename Traits , typename Fb >
◆ info() [1/2]
template<typename Info , typename Traits , typename Fb >
Returns a reference to the object of type Info
stored in the face.
◆ info() [2/2]
template<typename Info , typename Traits , typename Fb >
Returns a const reference to the object of type Info
stored in the face.