CGAL::lexicographically_smaller_or_equal

#include <CGAL/predicates_d.h>

bool lexicographically_smaller_or_equal ( 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 or equal to q.
Precondition: p.dimension() == q.dimension().