CGAL 5.6.1 - 2D and 3D Linear Geometry Kernel

Definition

Operations

A model of this concept must provide:

Comparison_result operator() (const K::Point_3 &a, const K::Point_3 &b, const K::Point_3 &c, const K::FT &cosine)
 compares the angles \( \theta_1\) and \( \theta_2\), where \( \theta_1\) is the angle in \( [0, \pi]\) of the triangle \( (a, b, c)\) at the vertex b, and \( \theta_2\) is the angle in \( [0, \pi]\) such that \( cos(\theta_2) = cosine\). More...
 

Member Function Documentation

◆ operator()()

Comparison_result Kernel::CompareAngle_3::operator() ( const K::Point_3 &  a,
const K::Point_3 &  b,
const K::Point_3 &  c,
const K::FT &  cosine 
)

compares the angles \( \theta_1\) and \( \theta_2\), where \( \theta_1\) is the angle in \( [0, \pi]\) of the triangle \( (a, b, c)\) at the vertex b, and \( \theta_2\) is the angle in \( [0, \pi]\) such that \( cos(\theta_2) = cosine\).

Precondition
a!=b && c!=b.