CGAL 6.2 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableTernaryFunction`

See also
  `CGAL::normal()`
  `CGAL::unit_normal()`

## Operations
A model of this concept must provide:
Kernel::Vector_3 | operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r)
| computes the unit normal of the vectors `q-p` and `r-p`.

## Member Function Documentation

## ◆ operator()()

Kernel::Vector_3 Kernel::ConstructUnitNormal_3::operator() | ( | const Kernel::Point_3 & | p,
|  | const Kernel::Point_3 & | q,
|  | const Kernel::Point_3 & | r
| ) |  |

computes the unit normal of the vectors `q-p` and `r-p`.

This requires that `Kernel::FT` supports the `sqrt` operation.