#include <GenConvexHull.H>
Definition at line 313 of file GenConvexHull.H.
Public Member Functions | |
| bool | operator() (const std::pair< double, GenPoint< T > > &aPair1, const std::pair< double, GenPoint< T > > &aPair2) |
| Compares angles about the pivot when sorting points to construct their hull. | |
|
||||||||||||||||
|
Compares angles about the pivot when sorting points to construct their hull. When angles are equal, pairs are sorted according to decreasing Y coordinates of the corresponding points, and, when Y coordinates are equal, according to increasing X coordinates: The pivot is thus guaranteed to be the leftmost point of minimum Y coordinate.
Definition at line 328 of file GenConvexHull.H. |