cgal/Kernel_23/doc_tex/Kernel_23_ref/orientation.tex

30 lines
1.1 KiB
TeX

%\ccHtmlNoRefLinks
\begin{ccRefFunction}{orientation}
\ccHtmlNoLinks
\ccFunction{Orientation orientation(const Point_2<Kernel>& p,
const Point_2<Kernel>& q,
const Point_2<Kernel>& r);}
{returns \ccStyle{LEFT_TURN}, if $r$ lies to the left of the oriented
line $l$ defined by $p$ and $q$, returns \ccStyle{RIGHT_TURN} if $r$
lies to the right of $l$, and returns \ccStyle{COLLINEAR} if $r$ lies
on $l$.}
\ccHtmlNoLinks
\ccFunction{Orientation orientation(const Point_3<Kernel> &p,
const Point_3<Kernel>&q,
const Point_3<Kernel>&r,
const Point_3<Kernel>&s);}
{returns \ccStyle{POSITIVE}, if $s$ lies on the positive side of the oriented
plane $h$ defined by $p$, $q$, and $r$, returns \ccStyle{NEGATIVE} if $s$
lies on the negative side of $h$, and returns \ccStyle{COPLANAR} if $s$ lies
on $h$.}
\ccSeeAlso
\ccRefIdfierPage{CGAL::collinear}
\ccRefIdfierPage{CGAL::left_turn}
\ccRefIdfierPage{CGAL::right_turn}
\end{ccRefFunction}