\( \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.3 - 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_3is a vertex base class from which Triangulation_vertex_base_with_info_3 derives. 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, and Triangulation_3/info_insert_with_zip_iterator.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.
 

Additional Inherited Members

- Public Types inherited from TriangulationVertexBase_3
typedef unspecified_type Point
 Must be the same as the point type TriangulationTraits_3::Point_3 defined by the geometric traits class of the triangulation.
 
- Public Member Functions inherited from TriangulationVertexBase_3
 TriangulationVertexBase_3 (const Point &p)
 Constructs a vertex whose geometric embedding is point p.
 
 TriangulationVertexBase_3 (const Point &p, Cell_handle c)
 Constructs a vertex embedding the point p and pointing to cell c.
 
Point point () const
 Returns the point.
 
void set_point (Point p)
 Sets the point.
 
istream & operator>> (istream &is, TriangulationVertexBase_3 &v)
 Inputs the non-combinatorial information given by the vertex: the point and other possible information.
 
ostream & operator<< (ostream &os, const TriangulationVertexBase_3 &v)
 Outputs the non-combinatorial information given by the vertex: the point and other possible information.