CGAL 6.0 - 2D Arrangements
Loading...
Searching...
No Matches
CGAL::Arr_segment_traits_2< Kernel >::X_monotone_curve_2 Class Reference

#include <CGAL/Arr_segment_traits_2.h>

Definition

template<typename Kernel>
class CGAL::Arr_segment_traits_2< Kernel >::X_monotone_curve_2

The X_monotone_curve_2 class nested within the traits class is used to represent segments.

Creation

 X_monotone_curve_2 ()
 constructs default.
 

Access Functions

const Point_2left () const
 obtains the (lexicographically) left endpoint.
 
const Point_2right () const
 obtains the (lexicographically) right endpoint.
 
const Line_2line () const
 obtains the supporting line.
 
bool is_vertical () const
 determines whether the curve is vertical.
 
bool is_directed_right () const
 determines whether the curve is directed lexicographic from left to right