|
CGAL 6.2 - 2D and 3D Linear Geometry Kernel
|
AdaptableTernaryFunction CGAL::orientation() Operations | |
A model of this concept must provide: | |
| Orientation | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r) |
returns CGAL::LEFT_TURN, if r lies to the left of the oriented line l defined by p and q, returns CGAL::RIGHT_TURN if r lies to the right of l, and returns CGAL::COLLINEAR if r lies on l. | |
| Orientation | operator() (const Kernel::Vector_2 &u, const Kernel::Vector_2 &v) |
returns CGAL::LEFT_TURN if u and v form a left turn, returns CGAL::RIGHT_TURN if u and v form a right turn, and returns CGAL::COLLINEAR if u and v are collinear. | |