\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14 - 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.