CGAL 5.6.3 - 3D Triangulations

Loading...
Searching...
No Matches
List of all members
CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< Traits, Cb > Class Template Reference
3D Triangulations Reference » Vertex and Cell Classes

`#include <CGAL/Delaunay_triangulation_cell_base_with_circumcenter_3.h>`

## Inherits from

Cb.

## Definition

template<typename Traits, typename Cb>
class CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< Traits, Cb >

The class `Delaunay_triangulation_cell_base_with_circumcenter_3` derives from `Cb`, a cell base class of a 3D triangulation.

It provides an easy way to cache the computation of the circumcenters of tetrahedra. Note that input/output operators discard this additional information.

All functions modifying the vertices of the cell invalidate the cached circumcenter.

Template Parameters

  Traits | is the geometric traits class and must be a model of `DelaunayTriangulationTraits_3`.
  Cb | is a cell base class from which `Delaunay_triangulation_cell_base_with_circumcenter_3` derives. Cb should be a model of `DelaunayTriangulationCellBase_3`. It has the default value `Delaunay_triangulation_cell_base_3<Traits>`.

Is Model Of:
  `DelaunayTriangulationCellBase_3`

See also
  `CGAL::Delaunay_triangulation_cell_base_3`

## Types
typedef Traits::Point_3 | Point

## Access function
As a model of the concept `DelaunayTriangulationCellBase_3`, `Delaunay_triangulation_cell_base_3` provides a `circumcenter()` member function. If it has already been computed in the past, the cached value is returned.
const Point & | circumcenter (Traits &gt=Traits()) const
| Computes the circumcenter of the tetrahedron, or retrieves it if already computed.