CGAL 4.4 - 3D Triangulations
|
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
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 . |
TriangulationTraits_3 | is 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 has the default value Triangulation_vertex_base_3<TriangulationTraits_3> . |
Types | |
typedef Info | Info |
Access Functions | |
const Info & | info () const |
Returns a const reference to the object of type Info stored in the vertex. | |
Info & | info () |
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. | |