\( \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.8.1 - 2D and 3D Linear Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel::ConstructPerpendicularVector_2 Concept Reference

Definition

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

Operations

A model of this concept must provide:

Kernel::Vector_2 operator() (const Kernel::Vector_2 &v, Orientation o)
 returns v rotated clockwise by 90 degrees, if o is CGAL::CLOCKWISE, and rotated counterclockwise otherwise. More...
 

Member Function Documentation

Kernel::Vector_2 Kernel::ConstructPerpendicularVector_2::operator() ( const Kernel::Vector_2 v,
Orientation  o 
)

returns v rotated clockwise by 90 degrees, if o is CGAL::CLOCKWISE, and rotated counterclockwise otherwise.

Precondition
o is not CGAL::COLLINEAR.