CGAL 5.1 - 3D Triangulations
TriangulationVertexBase_3 Class Reference

#include <Concepts/TriangulationVertexBase_3.h>

Definition

The vertex base used by the geometric triangulation must store a point. We list here the additional requirements compared to a vertex base usable for the triangulation data structure.

Refines:
TriangulationDSVertexBase_3
Has Models:

CGAL::Triangulation_vertex_base_3

CGAL::Triangulation_vertex_base_with_info_3

See also
TriangulationCellBase_3

Types

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. More...
 

Creation

 TriangulationVertexBase_3 (const Point &p)
 Constructs a vertex whose geometric embedding is point p. More...
 
 TriangulationVertexBase_3 (const Point &p, Cell_handle c)
 Constructs a vertex embedding the point p and pointing to cell c. More...
 

Access Functions

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

Setting

void set_point (Point p)
 Sets the point. More...
 

I/O

istream & operator>> (istream &is, TriangulationVertexBase_3 &v)
 Inputs the non-combinatorial information given by the vertex: the point and other possible information. More...
 
ostream & operator<< (ostream &os, const TriangulationVertexBase_3 &v)
 Outputs the non-combinatorial information given by the vertex: the point and other possible information. More...
 

Member Typedef Documentation

◆ Point

typedef unspecified_type TriangulationVertexBase_3::Point

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

Constructor & Destructor Documentation

◆ TriangulationVertexBase_3() [1/2]

TriangulationVertexBase_3::TriangulationVertexBase_3 ( const Point p)

Constructs a vertex whose geometric embedding is point p.

◆ TriangulationVertexBase_3() [2/2]

TriangulationVertexBase_3::TriangulationVertexBase_3 ( const Point p,
Cell_handle  c 
)

Constructs a vertex embedding the point p and pointing to cell c.

Member Function Documentation

◆ operator<<()

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

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

◆ operator>>()

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

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

◆ point()

Point TriangulationVertexBase_3::point ( ) const

Returns the point.

◆ set_point()

void TriangulationVertexBase_3::set_point ( Point  p)

Sets the point.