CGAL 5.5  2D and 3D Linear Geometry Kernel

AdaptableFunctor
(with two arguments)Operations  
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.  