CGAL 5.3 - 2D Arrangements
|
#include <CGAL/Arr_conic_traits_2.h>
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 (const Curve_2 &arc) | |
converts the given arc to an \( x\)-monotone arc. More... | |
Access Functions | |
const Point_2 & | left () const |
returns the left (lexicographically smaller) endpoint of xa . | |
const Point_2 & | right () const |
returns the right (lexicographically larger) endpoint of xa . | |
CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::X_monotone_curve_2::X_monotone_curve_2 | ( | const Curve_2 & | arc | ) |
converts the given arc to an \( x\)-monotone arc.
arc
is \( x\)-monotone.