CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::compare_xy()
CGAL::lexicographically_xy_larger()
CGAL::lexicographically_xy_larger_or_equal()
CGAL::lexicographically_xy_smaller_or_equal()

Functions

template<typename Kernel >
bool CGAL::lexicographically_xy_smaller (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 returns true iff p is lexicographically smaller than q with respect to \( xy\) order. More...
 

Function Documentation

◆ lexicographically_xy_smaller()

template<typename Kernel >
bool CGAL::lexicographically_xy_smaller ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

returns true iff p is lexicographically smaller than q with respect to \( xy\) order.