\( \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.5 - Combinatorial Maps
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit > Class Template Reference

#include <CGAL/Cell_attribute.h>

Definition

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

Is Model Of:
CellAttribute
Template Parameters
CMapmust be a model of the CombinatorialMap.
Info_is the type of the information contained in the attribute.
Tagis Tag_true to enable the storage of a Dart_handle of the associated cell, Tag_false otherwise.
OnMergeis the type of the functor called before two attributes are merged.
OnSplitis 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