CGAL 5.0.4 - 3D Triangulations
|
The concept RegularTriangulationCellBaseWithWeightedCircumcenter_3
refines the concept RegularTriangulationCellBase_3
by caching the weighted circumcenter of the cell.
RegularTriangulationCellBaseWithWeightedCircumcenter_3
refines the concept RegularTriangulationCellBase_3
, which requests the function weighted_circumcenter()
, the caching mechanism should be implemented directly into weighted_circumcenter()
: a Point_3
is computed when weighted_circumcenter()
is first called and its value is stored. In the next calls, the cached value is returned.Functions that modify the vertices of the cell will also invalidate the weighted circumcenter by calling invalidate_weighted_circumcenter_cache()
.
RegularTriangulationTraits_3
Public Member Functions | |
void | invalidate_weighted_circumcenter_cache () |
Invalidates the circumcenter value stored in the cell. | |