CGAL 5.6.3 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Functions
CGAL::normal()
2D and 3D Linear Geometry Kernel Reference » Global Kernel Functions

##

## Functions
template<typename Kernel >
CGAL::Vector_3< Kernel > | CGAL::normal (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
| computes the normal vector for the vectors `q-p` and `r-p`.

## Function Documentation

## ◆ normal()

template<typename Kernel >

CGAL::Vector_3< Kernel > CGAL::normal | ( | const CGAL::Point_3< Kernel > & | p,
|  | const CGAL::Point_3< Kernel > & | q,
|  | const CGAL::Point_3< Kernel > & | r
| ) |  |

`#include <CGAL/Kernel/global_functions.h>`

computes the normal vector for the vectors `q-p` and `r-p`.

Precondition
  The points `p`, `q`, and `r` must not be collinear.