|
template<class Traits , class Container , class CostFunction , class StopFunction > |
CGAL::Polygon_2< Traits, Container > | simplify (const CGAL::Polygon_2< Traits, Container > &polygon, CostFunction cost, StopFunction stop) |
| Simplifies a single polygon.
|
|
template<class Traits , class Container , class CostFunction , class StopFunction > |
CGAL::Polygon_with_holes_2< Traits, Container > | simplify (const CGAL::Polygon_with_holes_2< Traits, Container > &polygon, CostFunction cost, StopFunction stop) |
| Simplifies a single polygon with holes.
|
|
template<class PointIterator , class CostFunction , class StopFunction , class PointOutputIterator > |
PointOutputIterator | simplify (PointIterator b, PointIterator e, CostFunction cost, StopFunction stop, PointOutputIterator out, bool close=false) |
| Simplifies an open or closed polyline given as an iterator range of 2D CGAL points.
|
|
template<class CDT , class CostFunction , class StopFunction > |
std::size_t | simplify (CGAL::Constrained_triangulation_plus_2< CDT > &ct, typename CGAL::Constrained_triangulation_plus_2< CDT >::Constraint_id cid, CostFunction cost, StopFunction stop, bool remove_points=true) |
| Simplifies a single polyline in a triangulation with polylines as constraints.
|
|
template<class CDT , class CostFunction , class StopFunction > |
std::size_t | simplify (CGAL::Constrained_triangulation_plus_2< CDT > &ct, CostFunction cost, StopFunction stop, bool remove_points=true) |
| Simplifies all polylines in a triangulation with polylines as constraints.
|
|