\( \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 5.0.4 - 2D and 3D Linear Geometry Kernel
Kernel::CounterclockwiseInBetween_2 Concept Reference

Definition

Refines:
AdaptableFunctor (with three arguments)
See also
CGAL::Direction_2<Kernel>

Operations

A model of this concept must provide:

bool operator() (const Kernel::Direction_2 &d, const Kernel::Direction_2 &d1, const Kernel::Direction_2 &d2)
 returns true iff d is not equal to d1, and while rotating counterclockwise starting at d1, d is reached strictly before d2 is reached. More...
 

Member Function Documentation

◆ operator()()

bool Kernel::CounterclockwiseInBetween_2::operator() ( const Kernel::Direction_2 d,
const Kernel::Direction_2 d1,
const Kernel::Direction_2 d2 
)

returns true iff d is not equal to d1, and while rotating counterclockwise starting at d1, d is reached strictly before d2 is reached.

Note that true is returned if d1 == d2, unless also d == d1.