CGAL 5.2.1 - 2D and 3D Linear Geometry Kernel

Definition

Refines:
AdaptableFunctor (with one argument)
See also
CGAL::Triangle_3<Kernel>

Operations

A model of this concept must provide:

Kernel::FT operator() (const Kernel::Triangle_3 &t)
 returns the area of t. More...
 
Kernel::FT operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r)
 returns the area of the triangle p, q, r. More...
 

Member Function Documentation

◆ operator()() [1/2]

Kernel::FT Kernel::ComputeArea_3::operator() ( const Kernel::Triangle_3 t)

returns the area of t.

This requires that Kernel::FT supports the sqrt operation.

◆ operator()() [2/2]

Kernel::FT Kernel::ComputeArea_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q,
const Kernel::Point_3 r 
)

returns the area of the triangle p, q, r.

This requires that Kernel::FT supports the sqrt operation.