CGAL 6.3 - 2D Polygon Repair
Loading...
Searching...
No Matches
CGAL::Polygon_repair Namespace Reference

Classes

struct  Even_odd_rule
 Tag class to select the even odd rule when calling CGAL::Polygon_repair::repair(). More...
struct  Intersection_rule
 Tag class to select the intersection rule when calling CGAL::Polygon_repair::repair(). More...
struct  Non_zero_rule
 Tag class to select the non zero rule when calling CGAL::Polygon_repair::repair(). More...
struct  Union_rule
 Tag class to select the union rule when calling CGAL::Polygon_repair::repair(). More...

Functions

template<class Kernel, class Container, class Rule = Even_odd_rule>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Polygon_2< Kernel, Container > &p, Rule=Rule())
 repairs polygon p using the given rule
template<class Kernel, class Container, class Rule = Even_odd_rule>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Polygon_with_holes_2< Kernel, Container > &p, Rule=Rule())
 repairs polygon with holes p using the given rule
template<class Kernel, class Container>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Polygon_2< Kernel, Container > &p, Non_zero_rule)
template<class Kernel, class Container>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Polygon_with_holes_2< Kernel, Container > &p, Non_zero_rule)
template<class Kernel, class Container, class Rule = Even_odd_rule>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Multipolygon_with_holes_2< Kernel, Container > &p, Rule=Rule())
 repairs multipolygon with holes p using the given rule
template<class Kernel, class Container>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Multipolygon_with_holes_2< Kernel, Container > &p, Non_zero_rule)
template<class Kernel, class Container>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Multipolygon_with_holes_2< Kernel, Container > &p, Union_rule)
template<class Kernel, class Container>
Multipolygon_with_holes_2< Kernel, Containerrepair (const Multipolygon_with_holes_2< Kernel, Container > &p, Intersection_rule)
template<class Kernel, class Container>
bool is_valid (const Polygon_2< Kernel, Container > &polygon)
template<class Kernel, class Container>
bool is_valid (const Polygon_with_holes_2< Kernel, Container > &polygon)
template<class Kernel, class Container>
bool is_valid (const Multipolygon_with_holes_2< Kernel, Container > &multipolygon)
template<typename Kernel, typename Container>
Multipolygon_with_holes_2< Kernel, Containerjoin (const Multipolygon_with_holes_2< Kernel, Container > &pa)
 computes the union of all polygons with holes in p
template<typename PA, typename PB, typename Kernel = Default, typename Container = Default>
Multipolygon_with_holes_2< Kernel, Containerjoin (const PA &pa, const PB &pb, const Kernel &=Default(), const Container &=Default())
 computes the union of two polygonal domains
template<typename Kernel, typename Container>
Multipolygon_with_holes_2< Kernel, Containerintersect (const Multipolygon_with_holes_2< Kernel, Container > &p)
 computes the intersection of all polygons with holes in p
template<typename PA, typename PB, typename Kernel = Default, typename Container = Default>
Multipolygon_with_holes_2< Kernel, Containerintersect (const PA &pa, const PB &pb, const Kernel &=Default(), const Container &=Default())
 computes the intersection of two polygonal domains