CGAL 4.7 - Combinatorial Maps: CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit > Class Template Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - Combinatorial Maps

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit > Class Template Reference
Classes

`#include <CGAL/Cell_attribute.h>`

## Definition

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

Is Model Of:
  `CellAttribute`

Template Parameters

  CMap | must be a model of the `CombinatorialMap`.
  Info_ | is the type of the information contained in the attribute.
  Tag | is `Tag_true` to enable the storage of a `Dart_handle` of the associated cell, `Tag_false` otherwise.
  OnMerge | is the type of the functor called before two attributes are merged.
  OnSplit | is the type of the functor called after one attribute is split in two.

By default, `OnMerge` and `OnSplit` are equal to `Null_functor`; `Tag` is equal to `Tag_true`; and `Info_` is equal to `void`.

See Also
  `CGAL::Combinatorial_map<d,Items,Alloc>`

Examples:
  Combinatorial_map/map_3_dynamic_onmerge.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_handle | Dart_handle
typedef CMap::Dart_const_handle | Dart_const_handle