CGAL 5.4.4 - 3D Triangulations
CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb > Class Template Reference

#include <CGAL/Triangulation_vertex_base_with_info_3.h>

Inherits from

Vb.

Definition

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.

Template Parameters
Infois the information the user would like to add to a vertex. It has to be DefaultConstructible and Assignable.
Traitsis the geometric traits class and must be a model of TriangulationTraits_3.
Vbis 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>.
Is Model Of:

TriangulationVertexBase_3

TriangulationVertexBaseWithInfo_3

See also
CGAL::Triangulation_cell_base_with_info_3
CGAL::Triangulation_vertex_base_3
Examples:
Triangulation_3/color.cpp, Triangulation_3/info_insert_with_pair_iterator.cpp, Triangulation_3/info_insert_with_transform_iterator.cpp, Triangulation_3/info_insert_with_zip_iterator.cpp, and Triangulation_3/regular_with_info_3.cpp.

Types

typedef Info Info
 

Access Functions

const Infoinfo () const
 Returns a const reference to the object of type Info stored in the vertex.
 
Infoinfo ()
 Returns a reference to the object of type Info stored in the vertex.