CGAL 5.1 - 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. More...
 
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. More...
 
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. More...
 

Function Documentation

◆ compare_squared_radius() [1/4]

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 
)

#include <CGAL/Kernel/global_functions.h>

compares the squared radius of the sphere defined by the points p, q, r, and r to sr.

◆ compare_squared_radius() [2/4]

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 
)

#include <CGAL/Kernel/global_functions.h>

compares the squared radius of the sphere defined by the points p, q, and r to sr.

◆ compare_squared_radius() [3/4]

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 
)

#include <CGAL/Kernel/global_functions.h>

compares the squared radius of the sphere defined by the points p and q to sr.

◆ compare_squared_radius() [4/4]

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.