 CGAL 4.7 - 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

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.

This returns the opposite sign of sr.

#include <CGAL/global_functions.h>