\( \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
CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit > Class Template Reference

#include <CGAL/Cell_attribute.h>

Inherited by CGAL::Cell_attribute_with_point< class, class, class, class, class >.

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
 

Member Typedef Documentation

template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef CMap::Dart_const_handle CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::Dart_const_handle
template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef CMap::Dart_handle CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::Dart_handle
template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef Info_ CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::Info
template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef OnMerge CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::On_merge
template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef OnSplit CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::On_split
template<typename CMap , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
typedef Tag CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >::Supports_cell_dart