CGAL 6.0 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
Kernel::CompareYX_2 Concept Reference

Definition

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.
 

#include <Concepts/FunctionObjectConcepts.h>

Definition

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.