CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::CompareSquaredRadius_3 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableTernaryFunction`

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`.
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`.
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`.
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`.

## Member Function Documentation

## ◆ operator()()

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`.