CGAL 5.1 - 2D and 3D Linear Geometry Kernel

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with three arguments)
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 vectorsq-p and r-p. More...
 

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 vectorsq-p and r-p.

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