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 >
approximates a given \(x\)-monotone curve.
It computes a sequence of approximate points that represent an approximate polyline, and inserts them into an output container given through an output iterator. The first and last points in the sequence are always approximations of the endpoints of the given arc.
- Parameters
-
oi | An output iterator for the output container. |
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 container.
- Precondition
- Dereferencing
oi
must yield an object of type Arr_conic_traits_2::Approximate_point_2
.