\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.3 - 3D Triangulations
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Triangulation_cell_base_3< TriangulationTraits_3, TriangulationDSCellBase_3 > Class Template Reference

#include <CGAL/Triangulation_cell_base_3.h>

Inherits from

TriangulationDSCellBase_3.

Definition

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
TriangulationTraits_3is the geometric traits class. It is actually not used by this class.
TriangulationDSCellBase_3is a combinatorial cell base class from which Triangulation_cell_base_3 derives. It has the default value Triangulation_ds_cell_base_3<TDS>.

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

Additional Inherited Members

- Public Types inherited from TriangulationDSCellBase_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
 
- Public Member Functions inherited from TriangulationDSCellBase_3
 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_datatds_data ()
 
const TDS_datatds_data () const
 
istream & operator>> (istream &is, TriangulationDSCellBase_3 &c)
 
ostream & operator<< (ostream &os, const TriangulationDSCellBase_3 &c)