\( \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.8 - 2D Regularized Boolean Set-Operations

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
CGAL::Gps_segment_traits_2< Kernel, Container, ArrSegmentTraits > Class Template Reference
2D Regularized Boolean Set-Operations Reference

`#include <CGAL/Gps_segment_traits_2.h>`

## Definition

Is Model Of:
  `GeneralPolygonSetTraits_2`

See Also
  `CGAL::Arr_segment_traits_2<Kernel>`

## Definition
The traits class `Gps_segment_traits_2` models the concept `GeneralPolygonSetTraits_2`. It enables Boolean set-operations on (linear) polygons. It defines the exposed type `Polygon_2` to be `CGAL::Polygon_2<Kernel,Container>`. By default, the template parameter `Container` is instantiated by `std::vector<Kernel::Point_2>` and the template parameter `ArrSegmentTraits` is instantiated by `CGAL::Arr_segment_traits_2<Kernel>`.
typedef CGAL::Polygon_2 < Kernel, Container > | Polygon_2