cgal/Triangulation/doc_tex/Triangulation_ref/TriangulationVertex.tex

66 lines
2.0 KiB
TeX

\begin{ccRefConcept}{TriangulationVertex}
\ccDefinition
The concept \ccRefName\ describes the requirements on the type used by the
class \ccc{Triangulation<TrTraits, TDS>}, and its derived classes, to
represent a vertex.
\ccRefines
\ccc{TriangulationDSVertex}
We only list below the additional specific requirements of \ccRefName.
Compared to \ccc{TriangulationDSVertex}, the main difference is the addition of
an embedding of the vertex into a geometric point.
\ccHasModels
\ccc{Triangulation_vertex<TrTraits, Data, TDSVertex>}
\ccTypes
\ccNestedType{Point}{The type of the point stored in the vertex. It must be
the same as the point type \ccc{TrTraits::Point} (or its refined
concepts) when the \ccc{TriangulationVertex} is used in the class
\ccc{Triangulation<TrTraits, TDS>} (or its derived classes).}
\ccCreation
\ccCreationVariable{v}
\ccConstructor{TriangulationVertex(Full_cell_handle s, const Point & p);}%
{Constructs a vertex with incident cell \ccc{s}. The vertex is embedded at point \ccc{p}.}
\ccGlue\ccConstructor{TriangulationVertex(const Point & p);}%
{Same as above, but without incident cell.}%{ (Who would have guessed?)}
\ccGlue\ccConstructor{TriangulationVertex();}%
{Same as above, but with a default-constructed \ccc{Point}.}
\ccOperations
\ccMethod{void set_point(const Point & p);}%
{The parameter \ccc{p} becomes the new geometrical position of the vertex.}
\ccMethod{const Point & point() const;}%
{Returns the vertex's position.}
\ccHeading{Input/Output}
\ccFunction{istream & operator>>(istream & is, TriangulationVertex & v);}%
{Inputs the non-combinatorial information given by the vertex, {i.e.},
the point and other possible information.}
\ccFunction{ostream & operator<<(ostream & os, const TriangulationVertex & v);}%
{Outputs the non-combinatorial information given by the vertex, {i.e.},
the point and other possible information.}
\ccSeeAlso
\ccc{Triangulation_vertex<TrTraits, Data, TDSVertex>}\\
\ccc{TriangulationFullCell}\\
\ccc{Triangulation<TrTraits, TDS>}
\end{ccRefConcept}