CGAL 6.2 - 3D Triangulations: CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb > Class Template Reference

CGAL 6.2 - 3D Triangulations

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

`#include <CGAL/Triangulation_vertex_base_with_info_3.h>`

## Inherits from

Vb.

## Definition

template<typename Info, typename Traits, typename Vb>
class CGAL::Triangulation_vertex_base_with_info_3< Info, Traits, Vb >

The class `Triangulation_vertex_base_with_info_3` is a model of the concept `TriangulationVertexBase_3`, the base vertex of a 3D-triangulation.

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

Template Parameters

  Info | is the information the user would like to add to a vertex. It has to be `DefaultConstructible` and `Assignable`.
  Traits | is the geometric traits class and must be a model of `TriangulationTraits_3`.
  Vb | is a vertex base class from which `Triangulation_vertex_base_with_info_3` derives. It must be a model of the `TriangulationVertexBase_3` concept. It has the default value `Triangulation_vertex_base_3<Traits>`.

Is model of
  `TriangulationVertexBase_3`
  `TriangulationVertexBaseWithInfo_3`

See also
  `CGAL::Triangulation_cell_base_with_info_3`
  `CGAL::Triangulation_vertex_base_3`

Examples
  Triangulation_3/color.cpp, Triangulation_3/info_insert_with_pair_iterator.cpp, Triangulation_3/info_insert_with_transform_iterator.cpp, Triangulation_3/info_insert_with_zip_iterator.cpp, and Triangulation_3/regular_with_info_3.cpp.

## Types
typedef Info | Info

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