CGAL 6.1 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Functions
CGAL::equidistant_line()
Reference Manual » Global Kernel Functions

##

## Functions
template<typename Kernel >
CGAL::Line_3< Kernel > | CGAL::equidistant_line (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
| constructs the line which is at the same distance from the three points `p`, `q` and `r`.

## Function Documentation

## ◆ equidistant_line()

template<typename Kernel >

CGAL::Line_3< Kernel > CGAL::equidistant_line | ( | const CGAL::Point_3< Kernel > & | p,
|  | const CGAL::Point_3< Kernel > & | q,
|  | const CGAL::Point_3< Kernel > & | r
| ) |  |

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

constructs the line which is at the same distance from the three points `p`, `q` and `r`.

Precondition
  `p`, `q` and `r` are not collinear.