CGAL 6.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ConstructPerpendicularVector_2 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableBinaryFunction`

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.

## Member Function Documentation

## ◆ operator()()

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 != CGAL::COLLINEAR`.