|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Comparator for segments to ensure strict weak ordering in sets. More...
Public Member Functions | |
| bool | operator() (const Segment &s1, const Segment &s2) const |
| Compares two segments lexicographically. | |
Static Public Member Functions | |
| static bool | cmp_point (const Point &p1, const Point &p2) |
| Strict lexicographical comparison for points. | |
Comparator for segments to ensure strict weak ordering in sets.
Definition at line 4643 of file geom_algorithms.H.
|
inlinestatic |
Strict lexicographical comparison for points.
Definition at line 4646 of file geom_algorithms.H.
References Aleph::and, Aleph::Point::get_x(), and Aleph::Point::get_y().
Referenced by operator()().
|
inline |
Compares two segments lexicographically.
Definition at line 4655 of file geom_algorithms.H.
References Aleph::and, cmp_point(), Aleph::Segment::get_src_point(), and Aleph::Segment::get_tgt_point().