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()
Kernel::CompareXY_2

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 \( yx\) order: first \( y\)-coordinates are compared, if they are equal, \( x\)-coordinates are compared.
 

Member Function Documentation

◆ operator()()

Comparison_result Kernel::CompareYX_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q 
)

Compares the Cartesian coordinates of points p and q lexicographically in \( yx\) order: first \( y\)-coordinates are compared, if they are equal, \( x\)-coordinates are compared.