CGAL 5.6.3 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ComputeApproximateAngle_3 Concept Reference
2D and 3D Linear Geometry Kernel Reference » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableFunctor`

## Operations
A model of this concept must provide:
Kernel::FT | operator() (const Kernel::Vector_3 &u, const Kernel::Vector_3 &v) const
| returns an approximation of the angle between `u` and `v`.
Kernel::FT | operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r) const
| returns an approximation of the angle between `p-q` and `r-q`.

## Member Function Documentation

## ◆ operator()() [1/2]

Kernel::FT Kernel::ComputeApproximateAngle_3::operator() | ( | const Kernel::Point_3 & | p,
|  | const Kernel::Point_3 & | q,
|  | const Kernel::Point_3 & | r
| ) |  | const

returns an approximation of the angle between `p-q` and `r-q`.

The angle is given in degrees.

Precondition
  `p` and `r` are not equal to `q`.

## ◆ operator()() [2/2]

Kernel::FT Kernel::ComputeApproximateAngle_3::operator() | ( | const Kernel::Vector_3 & | u,
|  | const Kernel::Vector_3 & | v
| ) |  | const

returns an approximation of the angle between `u` and `v`.

The angle is given in degrees.

Precondition
  `u` and `v` are not equal to the null vector.