\( \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.7 - 2D Triangulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
TriangulationVertexBase_2 Concept Reference

Definition

The concept TriangulationVertexBase_2 describes the requirements for the vertex base class of a triangulation data structure to be plugged in a basic, Delaunay or constrained triangulations.

The concept TriangulationVertexBase_2 refines the concept TriangulationDSVertexBase_2 adding geometric information: the vertex base of a triangulation stores a point.

Refines:
TriangulationDSVertexBase_2
Has Models:
CGAL::Triangulation_vertex_base_2<Traits,Vb>
See also
TriangulationDataStructure_2
TriangulationDataStructure_2::Vertex
CGAL::Triangulation_vertex_base_2<Traits>

Types

typedef unspecified_type Point
 Must be the same as the point type TriangulationTraits_2::Point_2 defined by the geometric traits class of the triangulation. More...
 

Creation

 TriangulationVertexBase_2 (Point p)
 constructs a vertex embedded in point p. More...
 
 TriangulationVertexBase_2 (Point p, Face_handle f)
 constructs a vertex embedded in point p and pointing on face f. More...
 

Access Functions

Point point () const
 returns the point. More...
 

Setting

void set_point (Point p)
 sets the point. More...
 
istream & operator>> (istream &is, TriangulationVertexBase_2 &v)
 Inputs the non-combinatorial information given by the vertex: the point and other possible information. More...
 
ostream & operator<< (ostream &os, const TriangulationVertexBase_2 &v)
 Outputs the non combinatorial operation given by the vertex: the point and other possible information. More...
 

Member Typedef Documentation

Must be the same as the point type TriangulationTraits_2::Point_2 defined by the geometric traits class of the triangulation.

Constructor & Destructor Documentation

TriangulationVertexBase_2::TriangulationVertexBase_2 ( Point  p)

constructs a vertex embedded in point p.

TriangulationVertexBase_2::TriangulationVertexBase_2 ( Point  p,
Face_handle  f 
)

constructs a vertex embedded in point p and pointing on face f.

Member Function Documentation

ostream& TriangulationVertexBase_2::operator<< ( ostream &  os,
const TriangulationVertexBase_2 v 
)

Outputs the non combinatorial operation given by the vertex: the point and other possible information.

istream& TriangulationVertexBase_2::operator>> ( istream &  is,
TriangulationVertexBase_2 v 
)

Inputs the non-combinatorial information given by the vertex: the point and other possible information.

Point TriangulationVertexBase_2::point ( ) const

returns the point.

void TriangulationVertexBase_2::set_point ( Point  p)

sets the point.