CGAL 4.7 - 2D Straight Skeleton and Polygon Offsetting
|
#include <CGAL/Polygon_offset_builder_traits_2.h>
The class Polygon_offset_builder_traits_2
provides a model for the PolygonOffsetBuilderTraits_2
concept which is the traits class required by the Polygon_offset_builder_2
algorithm class.
The class Polygon_offset_builder_traits_2
has one template argument: a 2D CGAL Kernel. This parameter must be a model for the Kernel
concept, such as the Exact_predicates_inexact_constructions_kernel
, which is the recommended one.
It is unspecified which subset of the kernel is used in this traits class (and by extension in the builder class). This is to avoid restricting the choices in the implementation.
CGAL::Polygon_offset_builder_2<Ss,Gt,Polygon_2>