|
CGAL 4.7 - 3D Triangulations
|
#include <CGAL/Delaunay_triangulation_cell_base_with_circumcenter_3.h>
Cb.
The class Delaunay_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.
| DelaunayTriangulationTraits_3 | is the geometric traits class. |
| Cb | is a cell base class from which Delaunay_triangulation_cell_base_with_circumcenter_3 derives. Cb should be a model of DelaunayTriangulationCellBase_3. It has the default value Triangulation_cell_base_3<DelaunayTriangulationTraits_3>. |
Types | |
| typedef DelaunayTriangulationTraits_3::Point_3 | Point_3 |
Access function | |
As a model of the concept If it has already been computed in the past, the cached value is returned. | |
| const Point_3 & | circumcenter (const DelaunayTriangulationTraits_3 >=DelaunayTriangulationTraits_3()) const |
| Computes the circumcenter of the tetrahedron, or retrieves it if already computed. More... | |
| typedef DelaunayTriangulationTraits_3::Point_3 CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< DelaunayTriangulationTraits_3, Cb >::Point_3 |
| const Point_3& CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< DelaunayTriangulationTraits_3, Cb >::circumcenter | ( | const DelaunayTriangulationTraits_3 & | gt = DelaunayTriangulationTraits_3() | ) | const |
Computes the circumcenter of the tetrahedron, or retrieves it if already computed.