CGAL 5.2.3 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
Kernel::FT CGAL::approximate_dihedral_angle (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &s)
 returns an approximation of the signed dihedral angle in the tetrahedron pqrs of edge pq. More...
 

Function Documentation

◆ approximate_dihedral_angle()

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

#include <CGAL/Kernel/global_functions.h>

returns an approximation of the signed dihedral angle in the tetrahedron pqrs of edge pq.

The sign is negative if orientation(p,q,r,s) is CGAL::NEGATIVE and positive otherwise. The angle is given in degrees.

Precondition
p,q,r and p,q,s are not collinear.