CGAL 6.2 - 2D and 3D Linear Geometry Kernel

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

## Definition

See also
  `CGAL::compare_squared_radius()`

## Operations
A model of this concept must provide:
Comparison_result | operator() (const Kernel::Point_2 &p, const Kernel::FT &sr)
| compares the squared radius of the circle of radius `0` centered at `p` to `sr`.
Comparison_result | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::FT &sr)
| compares the squared radius of the smallest circle passing through the points `p` and `q` to `sr`.
Comparison_result | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r, const Kernel::FT &sr)
| compares the squared radius of the circle defined by the points `p`, `q`, and `r` to `sr`.

## Member Function Documentation

## ◆ operator()()

Comparison_result Kernel::CompareSquaredRadius_2::operator() | ( | const Kernel::Point_2 & | p,
|  | const Kernel::FT & | sr
| ) |  |

compares the squared radius of the circle of radius `0` centered at `p` to `sr`.

This returns CGAL::EQUAL if `sr` is zero, CGAL::SMALLER if `sr` is positive, and CGAL::LARGER if `sr` is negative.