CGAL 4.8.2 - 3D Triangulations
|
#include <CGAL/Regular_triangulation_cell_base_with_weighted_circumcenter_3.h>
Cb.
The class Regular_triangulation_cell_base_with_weighted_circumcenter_3
derives from Cb
, a cell base class of a 3D triangulation.
It provides an easy way to cache the computation of the weighted circumcenters of tetrahedra. Note that input/output operators discard this additional information.
All functions modifying the vertices of the cell invalidate the cached circumcenter.
RegularTriangulationTraits_3 | is the geometric traits class. |
Cb | is a cell base class from which Regular_triangulation_cell_base_with_weighted_circumcenter_3 derives. Cb should be a model of RegularTriangulationCellBase_3 . It has the default value Regular_triangulation_cell_base_3<RegularTriangulationTraits_3> . |
Types | |
typedef RegularTriangulationTraits_3::Bare_point | Bare_point |
Access function | |
As a model of the concept In this model, the Note that this point has no weight. | |
const Bare_point & | weighted_circumcenter (const RegularTriangulationTraits_3 >=RegularTriangulationTraits_3()) const |
Computes the weighted circumcenter of the tetrahedron, or retrieves it if already computed. More... | |
void | swap (Regular_triangulation_cell_base_with_weighted_circumcenter_3 &other) throw () |
Swaps the Regular_triangulation_cell_base_with_weighted_circumcenter_3 and other. More... | |
void CGAL::Regular_triangulation_cell_base_with_weighted_circumcenter_3< RegularTriangulationTraits_3, Cb >::swap | ( | Regular_triangulation_cell_base_with_weighted_circumcenter_3< RegularTriangulationTraits_3, Cb > & | other) | ||
throw | ( | ||||
) |
Swaps the Regular_triangulation_cell_base_with_weighted_circumcenter_3 and other.
Should be preferred to an assignment or copy constructor when other is deleted after that.
const Bare_point& CGAL::Regular_triangulation_cell_base_with_weighted_circumcenter_3< RegularTriangulationTraits_3, Cb >::weighted_circumcenter | ( | const RegularTriangulationTraits_3 & | gt = RegularTriangulationTraits_3() ) | const |
Computes the weighted circumcenter of the tetrahedron, or retrieves it if already computed.
The returned point has no weight.