CGAL 5.1 - 2D and 3D Linear Geometry Kernel

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with one argument)
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. More...
 
Kernel::FT operator() (const Kernel::Iso_rectangle_2 &r)
 returns the area of r. More...
 
Kernel::FT operator() (const Kernel::Triangle_2 &t)
 returns the signed area of t. More...
 

Member Function Documentation

◆ operator()() [1/3]

Kernel::FT Kernel::ComputeArea_2::operator() ( const Kernel::Iso_rectangle_2 r)

returns the area of r.

◆ operator()() [2/3]

Kernel::FT Kernel::ComputeArea_2::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.

◆ operator()() [3/3]

Kernel::FT Kernel::ComputeArea_2::operator() ( const Kernel::Triangle_2 t)

returns the signed area of t.