CGAL 5.1 - 2D Periodic Triangulations
|
#include <Concepts/Periodic_2TriangulationVertexBase_2.h>
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.
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... | |
typedef unspecified_type Periodic_2TriangulationVertexBase_2::Periodic_2_offset_2 |
A model of the concept Periodic_2Offset_2
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
.