CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::LessYX_2 Concept Reference

Definition

Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::compare_yx()

Operations

A model of this concept must provide:

bool operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q)
returns true iff the $$y$$-coordinate of p is smaller than the $$y$$-coordinate of q or if the are the same and the $$x$$-coordinate of p is smaller than the $$x$$-coordinate of q.