\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.5 - 2D Straight Skeleton and Polygon Offsetting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Straight_skeleton_builder_traits_2< Kernel > Class Template Reference

#include <CGAL/Straight_skeleton_builder_traits_2.h>

Definition

The class Straight_skeleton_builder_traits_2 provides a model for the StraightSkeletonBuilderTraits_2 concept which is the traits class required by the Straight_skeleton_builder_2 algorithm class.

The class Straight_skeleton_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 into the output sequence and the returned iterator will be equal to out.

For any given input polygon, it in this traits class (and by extension in the builder class). This is to avoid restricting the choices in the implementation.

Is Model Of:

StraightSkeletonBuilderTraits_2

DefaultConstructible

CopyConstructible

See Also
CGAL::Straight_skeleton_builder_2<Gt,Ssds>
Examples:
Straight_skeleton_2/Low_level_API.cpp.