|
CGAL 4.7 - 3D Triangulations
|
#include <CGAL/Triangulation_cell_base_with_circumcenter_3.h>
Cb.
Delaunay_triangulation_cell_base_with_circumcenter_3 should be used instead. Regular_triangulation_cell_base_with_weighted_circumcenter_3 and Triangulation_cell_base_with_info_3 can also be used in other frameworks.The class Triangulation_cell_base_with_circumcenter_3 derives from Cb, a cell base class of a 3D triangulation. It provides an easy way to cache the computation of the circumcenters of tetrahedra. Note that input/output operators discard this additional information.
All functions modifying the vertices of the cell, invalidate the cached circumcenter.
| TriangulationTraits_3 | is the geometric traits class. |
| Cb | is a cell base class from which Triangulation_cell_base_with_circumcenter_3 derives. Cb should be a model of TriangulationCellBase_3 or DelaunayTriangulationCellBase_3. It has the default value Triangulation_cell_base_3<DelaunayTriangulationTraits_3>. |
Types | |
| typedef TriangulationTraits_3::Point_3 | Point_3 |
Access Functions | |
| const Point_3 & | circumcenter (const TriangulationTraits_3 >=TriangulationTraits_3()) const |
| Computes the circumcenter of the tetrahedron, or retrieves it if already computed. More... | |
| typedef TriangulationTraits_3::Point_3 CGAL::Triangulation_cell_base_with_circumcenter_3< TriangulationTraits_3, Cb >::Point_3 |
| const Point_3& CGAL::Triangulation_cell_base_with_circumcenter_3< TriangulationTraits_3, Cb >::circumcenter | ( | const TriangulationTraits_3 & | gt = TriangulationTraits_3() | ) | const |
Computes the circumcenter of the tetrahedron, or retrieves it if already computed.