CGAL::lexicographically_smaller

#include <CGAL/predicates_d.h>

bool lexicographically_smaller ( Point_d<R> p, Point_d<R> q)
returns true iff p is lexicographically smaller than q with respect to Cartesian lexicographic order of points.
Precondition: p.dimension() == q.dimension().