CGAL 5.6.1 - 2D Arrangements
CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Make_x_monotone_2 Class Reference

#include <CGAL/Arr_polycurve_traits_2.h>


Subdivide a given subcurve into x-monotone subcurves and insert them into a given output iterator.

Public Member Functions

template<typename OutputIterator >
OutputIterator operator() (const Curve_2 &cv, OutputIterator oi) const

Member Function Documentation

◆ operator()()

template<typename SubcurveTraits_2>
template<typename OutputIterator >
OutputIterator CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Make_x_monotone_2::operator() ( const Curve_2 cv,
OutputIterator  oi 
) const
if cv is not empty then it must be continuous and well-oriented.
cvthe subcurve.
oian output iterator for the result. Its value type is a variant that wraps Point_2 or an X_monotone_curve_2 objects.
the past-the-end iterator.