Class

CGAL::Cell_attribute_with_point<LCC,Info_,Tag,OnMerge,OnSplit>

#include <CGAL/Cell_attribute_with_point.h>

Definition

The class Cell_attribute_with_point<LCC,Info_,Tag,OnMerge,OnSplit> 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 for the Concepts

CellAttributeWithPoint

Inherits From

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

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.

Types

typedef LCC::Point Point;
typedef LCC::Dart_handle Dart_handle;
typedef LCC::Dart_const_handle Dart_const_handle;

See Also

CGAL::Linear_cell_complex<d,d2,LCCTraits,CMItems,Alloc>
CGAL::Linear_cell_complex_min_items<d>
CGAL::Cell_attribute<CMap,Info_,Tag,OnMerge,OnSplit>