CGAL 5.1 - 3D Triangulations
|
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
Inherits Vb.
The class Triangulation_vertex_base_with_info_3
is a model of the concept TriangulationVertexBase_3
, the base vertex of a 3D-triangulation. It provides an easy way to add some user defined information in vertices. Note that input/output operators discard this additional information.
Info | is the information the user would like to add to a vertex. It has to be DefaultConstructible and Assignable . |
Traits | is the geometric traits class and must be a model of TriangulationTraits_3 . |
Vb | is a vertex base class from which Triangulation_vertex_base_with_info_3 derives. It must be a model of the TriangulationVertexBase_3 concept. It has the default value Triangulation_vertex_base_3<Traits> . |
Types | |
typedef Info | Info |
Access Functions | |
const Info & | info () const |
Returns a const reference to the object of type Info stored in the vertex. More... | |
Info & | info () |
Returns a reference to the object of type Info stored in the vertex. More... | |
typedef Info CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb >::Info |
Info& CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb >::info | ( | ) |
Returns a reference to the object of type Info
stored in the vertex.
const Info& CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb >::info | ( | ) | const |
Returns a const reference to the object of type Info
stored in the vertex.