\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10.1 - 3D Triangulations
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Triangulation_vertex_base_with_info_3< Info, TriangulationTraits_3, TriangulationVertexBase_3_ > Class Template Reference

#include <CGAL/Triangulation_vertex_base_with_info_3.h>

Inherits from

TriangulationVertexBase_3_.

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.
TriangulationTraits_3is the geometric traits class which provides the Point_3.
TriangulationVertexBase_3_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<TriangulationTraits_3>.
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.