|
CGAL 6.3 - Combinatorial Maps
|
#include <CGAL/Cell_attribute_with_id.h>
CGAL::Cell_attribute< Map, Info_, Tag, OnMerge, OnSplit >.
The class Cell_attribute_with_id represents an attribute containing (or not) an information, and having an id.
CellAttribute | 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. |
Public Member Functions | |
| int | id () const |
| Returns the index. | |
| int & | id () |
| Returns the index by reference. | |