CGAL 6.1 - 2D and 3D Linear Geometry Kernel
|
#include <Concepts/FunctionObjectConcepts.h>
AdaptableBinaryFunction
Operations | |
A model of this concept must provide: | |
Comparison_result | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q) |
Compares the Cartesian coordinates of points p and q lexicographically in \( xy\) order: first \( x\)-coordinates are compared, if they are equal, \( y\)-coordinates are compared. | |
Comparison_result Kernel::CompareXY_2::operator() | ( | const Kernel::Point_2 & | p, |
const Kernel::Point_2 & | q | ||
) |
Compares the Cartesian coordinates of points p
and q
lexicographically in \( xy\) order: first \( x\)-coordinates are compared, if they are equal, \( y\)-coordinates are compared.