CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::CompareSquaredRadius_3 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with three arguments)
See also
CGAL::compare_squared_radius()

Operations

A model of this concept must provide:

Comparison_result operator() (const Kernel::Point_3 &p, const Kernel::FT &sr)
 compares the squared radius of the sphere of radius 0 centered at p to sr. More...
 
Comparison_result operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p and q to sr. More...
 
Comparison_result operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r, const Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p, q, and r to sr. More...
 
Comparison_result operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r, const Kernel::Point_3 &s, const Kernel::FT &sr)
 compares the squared radius of the sphere defined by the points p, q, r, and s to sr. More...
 

Member Function Documentation

◆ operator()() [1/4]

Comparison_result Kernel::CompareSquaredRadius_3::operator() ( const Kernel::Point_3 p,
const 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.

◆ operator()() [2/4]

Comparison_result Kernel::CompareSquaredRadius_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q,
const Kernel::FT sr 
)

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

◆ operator()() [3/4]

Comparison_result Kernel::CompareSquaredRadius_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q,
const Kernel::Point_3 r,
const Kernel::FT sr 
)

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

◆ operator()() [4/4]

Comparison_result Kernel::CompareSquaredRadius_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q,
const Kernel::Point_3 r,
const Kernel::Point_3 s,
const Kernel::FT sr 
)

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