CGAL 5.6 - 2D and 3D Linear Geometry Kernel
Kernel::ConstructPerpendicularDirection_2 Concept Reference

Definition

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

◆ operator()()

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