|
CGAL 4.7 - dD Triangulations
|
The concept TriangulationVertex describes the requirements on the type used by the class Triangulation<TriangulationTraits, TriangulationDataStructure>, and its derived classes, to represent a vertex.
These operators can be used directly and are called by the I/O operator of class Triangulation.
Triangulation_vertex<TriangulationTraits, Data, TriangulationDSVertex> TriangulationFullCell Triangulation<TriangulationTraits, TriangulationDataStructure> Types | |
| typedef unspecified_type | Point |
| The type of the point stored in the vertex. More... | |
Creation | |
| TriangulationVertex (Full_cell_handle c, const Point &p) | |
Constructs a vertex with incident full cell c. More... | |
| TriangulationVertex (const Point &p) | |
| Same as above, but without incident full cell. More... | |
| TriangulationVertex () | |
Same as above, but with a default-constructed Point. More... | |
Operations | |
| void | set_point (const Point &p) |
The parameter p becomes the new geometrical position of the vertex. More... | |
| const Point & | point () const |
| Returns the vertex's position. More... | |
| std::istream & | operator>> (std::istream &is, TriangulationVertex &v) |
| Inputs the non-combinatorial information given by the vertex, i.e., the point and other possible information. More... | |
| std::ostream & | operator<< (std::ostream &os, const TriangulationVertex &v) |
| Outputs the non-combinatorial information given by the vertex, i.e., the point and other possible information. More... | |
The type of the point stored in the vertex.
It must be the same as the point type TriangulationTraits::Point (or its refined concepts) when the TriangulationVertex is used in the class Triangulation<TriangulationTraits, TriangulationDataStructure> (or its derived classes).
| TriangulationVertex::TriangulationVertex | ( | Full_cell_handle | c, |
| const Point & | p | ||
| ) |
Constructs a vertex with incident full cell c.
The vertex is embedded at point p.
| TriangulationVertex::TriangulationVertex | ( | const Point & | p | ) |
Same as above, but without incident full cell.
| TriangulationVertex::TriangulationVertex | ( | ) |
Same as above, but with a default-constructed Point.
| std::ostream& TriangulationVertex::operator<< | ( | std::ostream & | os, |
| const TriangulationVertex & | v | ||
| ) |
Outputs the non-combinatorial information given by the vertex, i.e., the point and other possible information.
| std::istream& TriangulationVertex::operator>> | ( | std::istream & | is, |
| TriangulationVertex & | v | ||
| ) |
Inputs the non-combinatorial information given by the vertex, i.e., the point and other possible information.
| const Point& TriangulationVertex::point | ( | ) | const |
Returns the vertex's position.
| void TriangulationVertex::set_point | ( | const Point & | p | ) |
The parameter p becomes the new geometrical position of the vertex.