CGAL 5.3 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
Comparison_result CGAL::compare_squared_radius (const CGAL::Point_3< Kernel > &p, const typename Kernel::FT &sr)
 compares the squared radius of the sphere of radius 0 centered at p to sr. More...
 
template<typename Kernel >
Comparison_result CGAL::compare_squared_radius (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const typename Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p and q to sr.
 
template<typename Kernel >
Comparison_result CGAL::compare_squared_radius (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const typename Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p, q, and r to sr.
 
template<typename Kernel >
Comparison_result CGAL::compare_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, const typename Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p, q, r, and r to sr.
 

Function Documentation

◆ compare_squared_radius()

template<typename Kernel >
Comparison_result CGAL::compare_squared_radius ( const CGAL::Point_3< Kernel > &  p,
const typename Kernel::FT sr 
)

#include <CGAL/Kernel/global_functions.h>

compares the squared radius of the sphere of radius 0 centered at p to sr.

This returns the opposite sign of sr.