CGAL 6.1.1 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableTernaryFunction`

See also
  `Kernel::CompareDistance_3`
  `CGAL::compare_distance_to_point()`
  `CGAL::compare_squared_distance()`

## Operations
A model of this concept must provide:
Comparison_result | operator() (const Type1 &obj1, const Type2 &obj2, const Kernel::FT &d2)
| compares the squared distance between the two geometrical objects `obj1` and `obj2` to the value `d2`, for all pairs `Type1` and `Type2`, where the types `Type1` and `Type2` can be any of the following:

## Member Function Documentation

## ◆ operator()()

Comparison_result Kernel::CompareSquaredDistance_3::operator() | ( | const Type1 & | obj1,
|  | const Type2 & | obj2,
|  | const Kernel::FT & | d2
| ) |  |

compares the squared distance between the two geometrical objects `obj1` and `obj2` to the value `d2`, for all pairs `Type1` and `Type2`, where the types `Type1` and `Type2` can be any of the following:

- `Kernel::Point_3`
- `Kernel::Line_3`
- `Kernel::Ray_3`
- `Kernel::Segment_3`
- `Kernel::Plane_3`