CGAL 4.6.1 - 2D Straight Skeleton and Polygon Offsetting
|
#include <CGAL/Straight_skeleton_vertex_base_2.h>
The class Straight_skeleton_vertex_base_2
provides a model for the StraightSkeletonVertex_2
concept which is the vertex type required by the StraightSkeleton_2
concept.
The class Straight_skeleton_vertex_base_2
has three template arguments: the first is the model of the StraightSkeleton_2
concept (the vertex container), the second is a Point type, and the third is a model of the FieldWithSqrt
concept, which is the numeric type used to represent the time of a vertex (a Euclidean distance).
This class can be used as a base class allowing users of the straight skeleton data structure to decorate a vertex with additional data. The concrete vertex class must be given in the HalfedgeDSItems
template parameter of the instantiation of the HalfedgeDS_default
class used as the model for the Straight_skeleton_2
concept.