sort helper if orient == HORIZONTAL, sort by left lower if orient == VERTICAL, sort by lower left
More...
#include <Polygon2Rectangle.h>
sort helper if orient == HORIZONTAL, sort by left lower if orient == VERTICAL, sort by lower left
Definition at line 50 of file Polygon2Rectangle.h.
◆ point_compare_type() [1/2]
| limbo::geometry::point_compare_type::point_compare_type |
( |
| ) |
|
|
inline |
◆ point_compare_type() [2/2]
| limbo::geometry::point_compare_type::point_compare_type |
( |
orientation_2d const & | ori | ) |
|
|
inline |
◆ operator()()
template<typename PointType>
| bool limbo::geometry::point_compare_type::operator() |
( |
PointType const & | p1, |
|
|
PointType const & | p2 ) const |
|
inline |
compare two points at specific orientation
- Template Parameters
-
- Parameters
-
- Returns
- true if (orient == HORIZONTAL and p1 is in the left lower of p2) or (orient == VERTICAL and p1 is in the lower left of p2)
Definition at line 72 of file Polygon2Rectangle.h.
◆ m_orient
The documentation for this class was generated from the following file: