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

CGAL::orientation

Orientation
orientation ( Point_2<R> p,
Point_2<R> q,
Point_2<R> r)
returns LEFTTURN, if r lies to the left of the oriented line l defined by p and q, returns RIGHTTURN if r lies to the right of l, and returns COLLINEAR if r lies on l.

Orientation
orientation ( Point_3<R> p,
Point_3<R> q,
Point_3<R> r,
Point_3<R> s)
returns POSITIVE, if s lies on the positive side of the oriented plane h defined by p, q, and r, returns NEGATIVE if s lies on the negative side of h, and returns COPLANAR if s lies on h.

See Also

CGAL::collinear CGAL::leftturn CGAL::rightturn


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