|
CGAL 6.0 - 2D Arrangements
|
#include <CGAL/Arr_segment_traits_2.h>
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_2 & | left () const |
| obtains the (lexicographically) left endpoint. | |
| const Point_2 & | right () const |
| obtains the (lexicographically) right endpoint. | |
| const Line_2 & | line () 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 | |