Class

CGAL::Cell_attribute<CMap,Info_,Tag,OnMerge,OnSplit>

#include <CGAL/Cell_attribute.h>

Definition

The class Cell_attribute<CMap,Info_,Tag,OnMerge,OnSplit> represents an attribute containing (or not) an information.

Is Model for the Concepts

CellAttribute

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.

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;

See Also

CGAL::Combinatorial_map<d,CMItems,Alloc>