CGAL 6.1 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableUnaryFunction`

See also
  `CGAL::Iso_rectangle_2<Kernel>`
  `CGAL::Triangle_2<Kernel>`

## Operations
A model of this concept must provide:
Kernel::FT | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r)
| returns the signed area of the triangle defined by the points `p`, `q` and `r`.
Kernel::FT | operator() (const Kernel::Iso_rectangle_2 &r)
| returns the area of `r`.
Kernel::FT | operator() (const Kernel::Triangle_2 &t)
| returns the signed area of `t`.