CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

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.
 

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.