CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines
AdaptableBinaryFunction
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 they are the same and the \( x\)-coordinate of p is smaller than the \( x\)-coordinate of q.
 

Member Function Documentation

◆ operator()()

bool Kernel::LessYX_2::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 they are the same and the \( x\)-coordinate of p is smaller than the \( x\)-coordinate of q.