CGAL 5.1 - 2D and 3D Linear Geometry Kernel

Functions

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

Function Documentation

◆ area()

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

#include <CGAL/Kernel/global_functions.h>

returns the signed area of the triangle defined by the points p, q and r.