CGAL 4.7 - 3D Triangulations
CGAL::Regular_triangulation_cell_base_3< RegularTriangulationTraits_3, Cb > Class Template Reference

#include <CGAL/Regular_triangulation_cell_base_3.h>

Cb.

## Definition

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

It is the default cell base class of regular triangulations.

Template Parameters
 RegularTriangulationTraits_3 is the geometric traits class. Cb is a cell base class from which Regular_triangulation_cell_base_3 derives. It must be a model of TriangulationCellBase_3. By default, this parameter is instantiated by Triangulation_cell_base_3.
Is Model Of:
RegularTriangulationCellBase_3
RegularTriangulationCellBase_3
CGAL::Regular_triangulation_3
CGAL::Regular_triangulation_cell_base_with_weighted_circumcenter_3
Examples:
Triangulation_3/parallel_insertion_and_removal_in_regular_3.cpp.

## Types

typedef
RegularTriangulationTraits_3::Bare_point
Bare_point

## Access function

As a model of the concept RegularTriangulationCellBase_3, Regular_triangulation_cell_base_3 provides a weighted_circumcenter() member fonction.

In this model, the weighted_circumcenter() member fonction returns the weighted circumcenter of the cell, computed by the ConstructWeightedCircumcenter constructor of the traits class.

Note that this point has no weight.

const Bare_pointweighted_circumcenter (const RegularTriangulationTraits_3 &gt=RegularTriangulationTraits_3()) const
Returns the weighted circumcenter of the cell. More...

## Member Function Documentation

template<typename RegularTriangulationTraits_3 , typename Cb >
 const Bare_point& CGAL::Regular_triangulation_cell_base_3< RegularTriangulationTraits_3, Cb >::weighted_circumcenter ( const RegularTriangulationTraits_3 & gt = RegularTriangulationTraits_3()) const

Returns the weighted circumcenter of the cell.

Be careful that the return type is RegularTriangulationTraits_3::Bare_point, and the radius of the weighted circumcenter is not supposed to be computed by the constructor Construct_weighted_circumcenter_3 of the traits class, so the returned point has no weight.