The concept TriangulationDataStructure_2::Vertex describes the type used by a TriangulationDataStructure_2 to store the vertices.

Some of the requirements listed below are of geometric nature and are optional when using the triangulation data structure class alone. They became required when the triangulation data structure is plugged into a triangulation.


The class TriangulationDataStructure_2::Vertex defines the same types as the triangulation data structure except the iterators.

Optional for the triangulation data structure used alone.


In order to obtain new vertices or destruct unused vertices, the user must call the create_vertex() and delete_vertex() methods of the triangulation data structure.

Access Functions

Point v.point () returns the geometric information of v.
Face_handle v.face () returns a face of the triangulation having v as vertex.

begin of advanced section  advanced  begin of advanced section


void v.set_point ( Point p) sets the geometric information to p.
void v.set_face ( Face_handle f) sets the incident face to f.

end of advanced section  advanced  end of advanced section


bool v.is_valid ( bool verbose = false)
Checks the validity of the vertex. Must check that its incident face has this vertex. The validity of the base vertex is also checked.
When verbose is set to true, messages are printed to give a precise indication on the kind of invalidity encountered.


istream& istream& is >> & v Inputs the non-combinatorial information possibly stored in the vertex.

ostream& ostream& os << v Outputs the non combinatorial operation possibly stored in the vertex.

Has Models


See Also