CGAL 6.2 - 3D Triangulations

Loading...
Searching...
No Matches
List of all members | Public Member Functions
RegularTriangulationCellBaseWithWeightedCircumcenter_3 Concept Reference
Reference Manual » Concepts

## 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.