CGAL 5.1 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
Kernel::FT CGAL::squared_area (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
 returns the squared area of the triangle defined by the points p, q and r. More...
 

Function Documentation

◆ squared_area()

template<typename Kernel >
Kernel::FT CGAL::squared_area ( 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 the squared area of the triangle defined by the points p, q and r.