\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14 - 3D Triangulations
RegularTriangulationCellBaseWithWeightedCircumcenter_3 Concept Reference

Definition

The concept RegularTriangulationCellBaseWithWeightedCircumcenter_3 refines the concept RegularTriangulationCellBase_3 by caching the weighted circumcenter of the cell.

Note
Since 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().

Refines:
RegularTriangulationCellBase_3
Has Models:
CGAL::Regular_triangulation_cell_base_with_weighted_circumcenter_3
See also
RegularTriangulationTraits_3

Public Member Functions

void invalidate_weighted_circumcenter_cache ()
 Invalidates the circumcenter value stored in the cell.