CGAL 5.6.1 - 2D and 3D Linear Geometry Kernel

## Functions

template<typename Kernel >
Comparison_result CGAL::compare_angle (const CGAL::Point_3< Kernel > &a, const CGAL::Point_3< Kernel > &b, const CGAL::Point_3< Kernel > &c, const Kernel::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...

## ◆ compare_angle()

template<typename Kernel >
 Comparison_result CGAL::compare_angle ( const CGAL::Point_3< Kernel > & a, const CGAL::Point_3< Kernel > & b, const CGAL::Point_3< Kernel > & c, const Kernel::FT & cosine )

#include <CGAL/Kernel/global_functions.h>

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.