CGAL::Gps_segment_traits_2<Kernel,Container,ArrSegmentTraits>

Definition

The traits class Gps_segment_traits_2<Kernel,Container,ArrSegmentTraits> 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>.

#include <CGAL/Gps_segment_traits_2.h>

typedef CGAL::Polygon_2<Kernel,Container>
Polygon_2;

Is Model for the Concepts

GeneralPolygonSetTraits_2

See Also

CGAL::Arr_segment_traits_2<Kernel>