CGAL 5.6 - 2D Triangulation Data Structure
|
Various algorithms using a triangulation data structure, such as Delaunay triangulations or Alpha Shapes, must be able to associate a state to a face elemental. For efficiency, this information must be stored directly within the face.
This class is only meant to store a state (Boolean). Consequently, the state must be the default value (i.e. false
) unless a setting function (mark_in_conflict()
, etc.) has been called.
The three states are "in conflict", "on boundary", and "processed". By default, a face is not in conflict, not on boundary, and not processed.
Setting | |
void | clear () |
Clears all flags: the face is neither in conflict, nor on the boundary, nor processed. | |
void | mark_in_conflict () |
Sets the "in conflict" state to true . | |
void | mark_on_boundary () |
Sets the "on boundary" state to true . | |
void | mark_processed () |
Sets the "processed" state to true . | |
void TriangulationDataStructure_2::Face_data::mark_in_conflict | ( | ) |
Sets the "in conflict" state to true
.
is_in_conflict()
returns true
void TriangulationDataStructure_2::Face_data::mark_on_boundary | ( | ) |
Sets the "on boundary" state to true
.
is_on_boundary()
returns true
void TriangulationDataStructure_2::Face_data::mark_processed | ( | ) |
Sets the "processed" state to true
.
processed()
returns true