CGAL 5.1 - 2D and 3D Linear Geometry Kernel
|
#include <Concepts/FunctionObjectConcepts.h>
AdaptableFunctor
(with three arguments)CGAL::orientation()
Operations | |
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 . More... | |
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. More... | |
Orientation Kernel::Orientation_2::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 Kernel::Orientation_2::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.