#include <CGAL/Cell_attribute_with_point.h>
CGAL::Cell_attribute< CMap, Info_, Tag, OnMerge, OnSplit >.
The class Cell_attribute_with_point represents an attribute containing a point and containing an information when Info_ is different from void.
This class can typically be used to associate a point to each 0-cell of a combinatorial map.
- Is Model Of:
CellAttributeWithPoint
- Template Parameters
-
| LCC | must be an instantiation of Linear_cell_complex class, |
| Info_ | is the type of the information contained in the attribute, void for no information, |
| Tag | is Tag_true to enable the storage of a Dart_handle of the associated cell, Tag_false otherwise, |
| OnMerge | is a functor called when two attributes are merged, |
| OnSplit | is a functor called when 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::Linear_cell_complex<d,d2,LCCTraits,Items,Alloc>
-
CGAL::Linear_cell_complex_min_items<d>
-
CGAL::Cell_attribute<CMap,Info_,Tag,OnMerge,OnSplit>
- Examples:
- Linear_cell_complex/linear_cell_complex_3_with_colored_vertices.cpp.
template<typename LCC , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
template<typename LCC , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >
template<typename LCC , typename Info_ , typename Tag , typename OnMerge , typename OnSplit >