CGAL 6.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ComputeArea_3 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableUnaryFunction`

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`.
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`.

## Member Function Documentation

## ◆ operator()() [1/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.

## ◆ operator()() [2/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.