\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.5.2 - 2D and 3D Linear Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel::ConstructPerpendicularDirection_2 Concept Reference

Definition

Refines:
AdaptableFunctor (with two arguments)
See Also
CGAL::Direction_2<Kernel>

Operations

A model of this concept must provide:

Kernel::Direction_2 operator() (const Kernel::Direction_2 &d, Orientation o)
 introduces a direction orthogonal to d. More...
 

Member Function Documentation

Kernel::Direction_2 Kernel::ConstructPerpendicularDirection_2::operator() ( const Kernel::Direction_2 d,
Orientation  o 
)

introduces a direction orthogonal to d.

If o is CGAL::CLOCKWISE, d is rotated clockwise; if o is CGAL::COUNTERCLOCKWISE, d is rotated counterclockwise.

Precondition
o is not CGAL::COLLINEAR.