CGAL 5.4.4 - 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.
Traits | is the geometric traits class and must be a model of RegularTriangulationTraits_3 . |
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<RT> . |
Types | |
typedef Traits::Point_3 | Point_3 |
typedef Traits::Weighted_point_3 | Point |
Access function | |
As a model of the concept In this model, the Note that the returned point has no weight. | |
const Point_3 & | weighted_circumcenter (const Traits >=Traits()) const |
Computes the weighted circumcenter of the tetrahedron, or retrieves it if it has already been computed. More... | |
void | swap (Regular_triangulation_cell_base_with_weighted_circumcenter_3 &other) noexcept |
Swaps the Regular_triangulation_cell_base_with_weighted_circumcenter_3 and other . More... | |
|
noexcept |
Swaps the Regular_triangulation_cell_base_with_weighted_circumcenter_3 and other
.
This function should be preferred to an assignment or the copy constructor if other
is deleted thereafter.
const Point_3& CGAL::Regular_triangulation_cell_base_with_weighted_circumcenter_3< Traits, Cb >::weighted_circumcenter | ( | const Traits & | gt = Traits() | ) | const |
Computes the weighted circumcenter of the tetrahedron, or retrieves it if it has already been computed.
The returned point has no weight.