CGAL 4.7 - 2D and 3D Linear Geometry Kernel: Kernel::CompareSquaredRadius_3 Concept Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - 2D and 3D Linear Geometry Kernel

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
Kernel::CompareSquaredRadius_3 Concept Reference
Kernel Function Object Concepts

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

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