cgal/Old_Packages/Doc23/doc_tex/kernel/Ref/orientation.tex

30 lines
1.1 KiB
TeX

%\ccHtmlNoRefLinks
\begin{ccRefFunction}{orientation}
\ccHtmlNoLinks
\ccFunction{Orientation orientation(const Point_2<R>& p,
const Point_2<R>& q,
const Point_2<R>& 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<R> &p,
const Point_3<R>&q,
const Point_3<R>&r,
const Point_3<R>&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}