CGAL::are_strictly_ordered_along_line

bool are_strictly_ordered_along_line ( Point_2<Kernel> p, Point_2<Kernel> q, Point_2<Kernel> r)
returns true, iff the three points are collinear and q lies strictly between p and r. Note that false is returned, if q==p or q==r.

bool are_strictly_ordered_along_line ( Point_3<Kernel> p, Point_3<Kernel> q, Point_3<Kernel> r)
returns true, iff the three points are collinear and q lies strictly between p and r. Note that false is returned, if q==p or q==r.

See Also

CGAL::are_ordered_along_line
CGAL::collinear_are_ordered_along_line
CGAL::collinear_are_strictly_ordered_along_line