CGAL 5.6.1 - 2D Arrangements
CGAL::Arr_segment_traits_2< Kernel >::X_monotone_curve_2 Class Reference

#include <CGAL/Arr_segment_traits_2.h>

Definition

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

Creation

 X_monotone_curve_2 ()
 constructs default. More...
 

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
 

Constructor & Destructor Documentation

◆ X_monotone_curve_2()

template<typename Kernel >
CGAL::Arr_segment_traits_2< Kernel >::X_monotone_curve_2::X_monotone_curve_2 ( )

constructs default.