CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
Tetrahedron_3<Kernel>_grp

Functions

template<typename Kernel >
Kernel::FT CGAL::volume (const CGAL::Point_3< Kernel > &p0, const CGAL::Point_3< Kernel > &p1, const CGAL::Point_3< Kernel > &p2, const CGAL::Point_3< Kernel > &p3)
 Computes the signed volume of the tetrahedron defined by the four points p0, p1, p2 and p3. More...
 

Function Documentation

◆ volume()

template<typename Kernel >
Kernel::FT CGAL::volume ( const CGAL::Point_3< Kernel > &  p0,
const CGAL::Point_3< Kernel > &  p1,
const CGAL::Point_3< Kernel > &  p2,
const CGAL::Point_3< Kernel > &  p3 
)

#include <CGAL/Kernel/global_functions.h>

Computes the signed volume of the tetrahedron defined by the four points p0, p1, p2 and p3.