CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::collinear()
CGAL::left_turn()
CGAL::orientation()

Functions

template<typename Kernel >
bool CGAL::right_turn (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r)
 returns true iff p, q, and r form a right turn. More...
 

Function Documentation

◆ right_turn()

template<typename Kernel >
bool CGAL::right_turn ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q,
const CGAL::Point_2< Kernel > &  r 
)

#include <CGAL/Kernel/global_functions.h>

returns true iff p, q, and r form a right turn.