The class Triangulation_cell_base_3
is a model of the concept TriangulationCellBase_3
, the base cell of a 3D-triangulation.
This class can be used directly or can serve as a base to derive other classes with some additional attributes (a color for example) tuned for a specific application.
- Template Parameters
-
Note that this model does not store the circumcenter, but computes it every time the circumcenter function is called. See Triangulation_cell_base_with_circumcenter_3
for a way to cache the circumcenter computation.
- Is Model Of:
TriangulationCellBase_3
- See Also
CGAL::Triangulation_ds_cell_base_3
-
CGAL::Triangulation_cell_base_with_info_3
-
CGAL::Triangulation_cell_base_with_circumcenter_3
-
CGAL::Triangulation_vertex_base_3
|
typedef unspecified_type | Rebind_TDS |
|
typedef TriangulationDataStructure_3 | Triangulation_data_structure |
|
typedef TriangulationDataStructure_3::Vertex_handle | Vertex_handle |
|
typedef TriangulationDataStructure_3::Cell_handle | Cell_handle |
|
typedef
TriangulationDataStructure_3::Cell_data | TDS_data |
|
| Cell_base () |
|
| Cell_base (Vertex_handle v0, Vertex_handle v1, Vertex_handle v2, Vertex_handle v3) |
|
| Cell_base (Vertex_handle v0, Vertex_handle v1, Vertex_handle v2, Vertex_handle v3, Cell_handle n0, Cell_handle n1, Cell_handle n2, Cell_handle n3) |
|
Vertex_handle | vertex (int i) const |
|
int | index (Vertex_handle v) const |
|
bool | has_vertex (Vertex_handle v) |
|
bool | has_vertex (Vertex_handle v, int &i) const |
|
Cell_handle | neighbor (int i) const |
|
int | index (Cell_handle n) const |
|
bool | has_neighbor (Cell_handle n) |
|
bool | has_neighbor (Cell_handle n, int &i) const |
|
void | set_vertex (int i, Vertex_handle v) |
|
void | set_vertices () |
|
void | set_vertices (Vertex_handle v0, Vertex_handle v1, Vertex_handle v2, Vertex_handle v3) |
|
void | set_neighbor (int i, Cell_handle n) |
|
void | set_neighbors () |
|
void | set_neighbors (Cell_handle n0, Cell_handle n1, Cell_handle n2, Cell_handle n3) |
|
bool | is_valid (bool verbose=false, int level=0) const |
|
void * | for_compact_container () const |
|
void *& | for_compact_container () |
|
TDS_data & | tds_data () |
|
const TDS_data & | tds_data () const |
|
istream & | operator>> (istream &is, TriangulationDSCellBase_3 &c) |
|
ostream & | operator<< (ostream &os, const TriangulationDSCellBase_3 &c) |
|