CGAL 6.0 - 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...
 

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 , 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 >
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)