CGAL 6.1 - 3D Triangulations

Loading...
Searching...
No Matches
List of all members
CGAL::Triangulation_cell_base_with_info_3< Info, TriangulationTraits_3, TriangulationCellBase_3_ > Class Template Reference
Reference Manual » Vertex and Cell Classes

`#include <CGAL/Triangulation_cell_base_with_info_3.h>`

## Inherits from

TriangulationCellBase_3_.

## Definition

template<typename Info, typename TriangulationTraits_3, typename TriangulationCellBase_3_>
class CGAL::Triangulation_cell_base_with_info_3< Info, TriangulationTraits_3, TriangulationCellBase_3_ >

The class `Triangulation_cell_base_with_info_3` is a model of the concept `TriangulationCellBase_3`, the base cell of a 3D-triangulation.

It provides an easy way to add some user defined information in cells. Note that input/output operators discard this additional information.

Template Parameters

  Info | is the information the user would like to add to a cell. It has to be `DefaultConstructible` and `Assignable`.
  TriangulationTraits_3 | is the geometric traits class. It is actually not used by this class.
  TriangulationCellBase_3_ | is a cell base class from which `Triangulation_cell_base_with_info_3` derives. It must be a model of the `TriangulationCellBase_3` concept. It has the default value `Triangulation_cell_base_3<TriangulationTraits_3>`.

Is model of
  `TriangulationCellBase_3`
  `TriangulationCellBaseWithInfo_3`

See also
  `CGAL::Triangulation_cell_base_3`
  `CGAL::Triangulation_vertex_base_with_info_3`

## Types
typedef Info | Info

## Access Functions
const Info & | info () const
| Returns a const reference to the object of type `Info` stored in the cell.
Info & | info ()
| Returns a reference to the object of type `Info` stored in the cell.