CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
Circle_2<Kernel>_grp
Circle_3<Kernel>_grp
Sphere_3<Kernel>_grp

Functions

template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r)
 compute the squared radius of the circle passing through the points p, q, and r. More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 compute the squared radius of the smallest circle passing through p, and q, i.e. one fourth of the squared distance between p and q. More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_2< Kernel > &p)
 compute the squared radius of the smallest circle passing through p, i.e. \( 0\). More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &s)
 compute the squared radius of the sphere passing through the points p, q, r and s. More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
 compute the squared radius of the sphere passing through the points p, q, and r and whose center is in the same plane as those three points. More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q)
 compute the squared radius of the smallest circle passing through p, and q, i.e. one fourth of the squared distance between p and q. More...
 
template<typename Kernel >
FT CGAL::squared_radius (const CGAL::Point_3< Kernel > &p)
 compute the squared radius of the smallest circle passing through p, i.e. \( 0\). More...
 

Function Documentation

◆ squared_radius() [1/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_2< Kernel > &  p)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the smallest circle passing through p, i.e. \( 0\).

◆ squared_radius() [2/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the smallest circle passing through p, and q, i.e. one fourth of the squared distance between p and q.

◆ squared_radius() [3/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_2< Kernel > &  p,
const CGAL::Point_2< Kernel > &  q,
const CGAL::Point_2< Kernel > &  r 
)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the circle passing through the points p, q, and r.

Precondition
p, q, and r are not collinear.

◆ squared_radius() [4/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_3< Kernel > &  p)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the smallest circle passing through p, i.e. \( 0\).

◆ squared_radius() [5/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q 
)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the smallest circle passing through p, and q, i.e. one fourth of the squared distance between p and q.

◆ squared_radius() [6/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  r 
)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the sphere passing through the points p, q, and r and whose center is in the same plane as those three points.

◆ squared_radius() [7/7]

template<typename Kernel >
FT CGAL::squared_radius ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  r,
const CGAL::Point_3< Kernel > &  s 
)

#include <CGAL/Kernel/global_functions.h>

compute the squared radius of the sphere passing through the points p, q, r and s.

Precondition
p, q, r and s are not coplanar.