CGAL 6.1.2 - 3D Triangulations: CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< Traits, Cb > Class Template Reference

CGAL 6.1.2 - 3D Triangulations

Loading...
Searching...
No Matches
List of all members
CGAL::Delaunay_triangulation_cell_base_with_circumcenter_3< Traits, Cb > Class Template Reference
Reference Manual » 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 must 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 (const Traits &gt=Traits()) const
| Computes the circumcenter of the tetrahedron, or retrieves it if already computed.