CGAL 6.0 - 2D Regularized Boolean Set-Operations
Loading...
Searching...
No Matches
CGAL::Gps_traits_2< ArrTraits, GeneralPolygon_t > Class Template Reference

#include <CGAL/Gps_traits_2.h>

Definition

template<typename ArrTraits, typename GeneralPolygon_t>
class CGAL::Gps_traits_2< ArrTraits, GeneralPolygon_t >

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.