template<typename RatKernel, typename AlgKernel, typename NtTraits>
class CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::Approximate_2
A functor that approximates a point and an \(x\)-monotone curve.
template<typename RatKernel , typename AlgKernel , typename NtTraits >
Obtain a polyline that approximates an \(x\)-monotone curve.
The polyline is defined by a range of approximate points beginning at oi
. The type OutputIterator
must dereference the type Approximate_point_2
. The first and last points in the range are always the endpoints of the given arc xcv
. The operator returns a past-the-end iterator of the destination range.
- Parameters
-
oi | An output iterator for the resulting polyline. |
error | The error bound of the polyline approximation. This is the Hausdorff distance between the arc and the polyline that approximates the arc. |
xcv | The exact \(x\)-monotone arc. |
l2r | A Boolean flag that indicates whether the arc direction is left to right. |
- Returns
- The past-the-end iterator of the output iterator.