Navigation: Up, Table of Contents, Bibliography, Index, Title Page

CGAL::are_ordered_along_line

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

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

See Also

CGAL::are_strictly_ordered_along_line
CGAL::collinear_are_ordered_along_line
CGAL::collinear_are_strictly_ordered_along_line


Next: are_strictly_ordered_along_line
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
www.cgal.org. Aug 13, 2001.