CGAL 6.0.1 - 2D Arrangements
Loading...
Searching...
No Matches
CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::X_monotone_curve_2 Class Reference

#include <CGAL/Arr_conic_traits_2.h>

Definition

template<typename RatKernel, typename AlgKernel, typename NtTraits>
class CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::X_monotone_curve_2

The X_monotone_curve_2 class nested within the conic-arc traits is used to represent \(x\)-monotone conic arcs.

It inherits from the Curve_2 type, therefore supports the access methods and the operations listed above.

For efficiency reasons, we recommend users not to construct \(x\)-monotone conic arc directly, but rather use the Make_x_monotone_2 functor supplied by the conic-arc traits class to convert conic curves to \(x\)-monotone curves.

Creation

 X_monotone_curve_2 ()
 constructs an empty (invalid) arc.
 

Access Functions

const Point_2left () const
 returns the left (lexicographically smaller) endpoint of xa.
 
const Point_2right () const
 returns the right (lexicographically larger) endpoint of xa.