\( \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.12 - 2D Regularized Boolean Set-Operations
CGAL::Gps_traits_2< ArrTraits, GeneralPolygon_t > Class Template Reference

#include <CGAL/Gps_traits_2.h>

Definition

The traits class Gps_traits_2 models the concept GeneralPolygonSetTraits_2.

It inherits from the instantiated type of the template parameter ArrTraits, which must model the concept ArrangementDirectionalXMonotoneTraits_2, (which in turn refines the concept ArrangementXMonotoneTraits_2). The template parameter GeneralPolygon_t must be instantiated with a model of the concept of GpsTraitsGeneralPolygon_2. By default, the latter is instantiated by CGAL::General_polygon_2<ArrTraits>.

Is Model Of:
GeneralPolygonSetTraits_2
Examples:
Boolean_set_operations_2/bezier_traits_adapter.cpp, Boolean_set_operations_2/bezier_traits_adapter2.cpp, and Boolean_set_operations_2/conic_traits_adapter.cpp.