\( \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 Periodic Triangulations
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Periodic_2TriangulationVertexBase_2 Concept Reference

Definition

A refinement of the concept TriangulationVertexBase_2 which adds an API for offset.

At the base level of 2D-triangulations (see Section Software Design), a vertex provides access to one of its incident faces through a handle.

The storage of the offset is only needed when a triangulation is copied.

Refines:
TriangulationVertexBase_2
Has Models:
CGAL::Periodic_2_triangulation_vertex_base_2
See also
TriangulationDataStructure_2
TriangulationVertexBase_2
Periodic_2TriangulationFaceBase_2

Types

typedef unspecified_type Periodic_2_offset_2
 A model of the concept Periodic_2Offset_2 More...
 

Access Functions

Periodic_2_offset_2 offset () const
 Returns the offset stored in the vertex. More...
 
bool get_offset_flag () const
 Returns true if the offset has been set, false otherwise. More...
 
void set_offset (Periodic_2_offset_2 o)
 Sets the offset and sets the offset flag to true. More...
 
void clear_offset ()
 Sets the offset flag to false and clears the offset. More...
 

Member Typedef Documentation

Member Function Documentation

void Periodic_2TriangulationVertexBase_2::clear_offset ( )

Sets the offset flag to false and clears the offset.

bool Periodic_2TriangulationVertexBase_2::get_offset_flag ( ) const

Returns true if the offset has been set, false otherwise.

Periodic_2_offset_2 Periodic_2TriangulationVertexBase_2::offset ( ) const

Returns the offset stored in the vertex.

void Periodic_2TriangulationVertexBase_2::set_offset ( Periodic_2_offset_2  o)

Sets the offset and sets the offset flag to true.