CGAL 5.4.1 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
Kernel::FT CGAL::approximate_angle (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
 returns an approximation of the angle between p-q and r-q. More...
 
template<typename Kernel >
Kernel::FT CGAL::approximate_angle (const CGAL::Vector_3< Kernel > &u, const CGAL::Vector_3< Kernel > &v)
 returns an approximation of the angle between u and v. More...
 

Function Documentation

◆ approximate_angle() [1/2]

template<typename Kernel >
Kernel::FT CGAL::approximate_angle ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  r 
)

#include <CGAL/Kernel/global_functions.h>

returns an approximation of the angle between p-q and r-q.

The angle is given in degrees.

Precondition
p and r are not equal to q.

◆ approximate_angle() [2/2]

template<typename Kernel >
Kernel::FT CGAL::approximate_angle ( const CGAL::Vector_3< Kernel > &  u,
const CGAL::Vector_3< Kernel > &  v 
)

#include <CGAL/Kernel/global_functions.h>

returns an approximation of the angle between u and v.

The angle is given in degrees.

Precondition
u and v are not equal to the null vector.