CGAL 6.1 - Combinatorial Maps

Loading...
Searching...
No Matches
List of all members
CGAL::Cell_attribute< Map, Info_, Tag, OnMerge, OnSplit > Class Template Reference
Reference Manual » Classes

`#include <CGAL/Cell_attribute.h>`

Inherited by CGAL::Cell_attribute_with_id< Map, Info_, Tag, OnMerge, OnSplit >.

## Definition

template<typename Map, typename Info_, typename Tag, typename OnMerge, typename OnSplit>
class CGAL::Cell_attribute< Map, Info_, Tag, OnMerge, OnSplit >

The class `Cell_attribute` represents an attribute containing (or not) an information.

Is model of
  `CellAttribute`

Template Parameters

  Map | a model of the `GenericMap` concept.
  Info_ | the type of the information contained in the attribute. Equal to `void` by default.
  Tag | is `Tag_true` to enable the storage of a `Dart_descriptor` of the associated cell, `Tag_false` otherwise. Equal to `Tag_true` by default.
  OnMerge | the type of the functor called before two attributes are merged. Equal to `Null_functor` by default.
  OnSplit | the type of the functor called after one attribute is split in two. Equal to `Null_functor` by default.

See also
  `CGAL::Combinatorial_map<d,Items,Alloc>`
  `CGAL::Generalized_map<d,Items,Alloc>`

Examples
  Combinatorial_map/map_3_dynamic_onmerge.cpp, Combinatorial_map/map_3_index.cpp, and Combinatorial_map/map_3_with_colored_facets.cpp.

## Types
typedef Info_ | Info
typedef Tag | Supports_cell_dart
typedef OnMerge | On_merge
typedef OnSplit | On_split
typedef CMap::Dart_descriptor | Dart_descriptor
typedef CMap::Dart_const_descriptor | Dart_const_descriptor