CGAL 4.12.1 - 2D and 3D Linear Geometry Kernel
Kernel::ComputeSquaredDistance_3 Concept Reference

## Definition

Refines:
AdaptableFunctor (with two arguments)
CGAL::squared_distance()

## Operations

A model of this concept must provide:

Kernel::FT operator() (Type1 obj1, Type2 obj2)
returns the squared distance between two geometrical objects of type Type1 and Type2, for all pairs Type1 and Type2, where the types Type1 and Type2 can be any of the following: More...

## ◆ operator()()

 Kernel::FT Kernel::ComputeSquaredDistance_3::operator() ( Type1 obj1, Type2 obj2 )

returns the squared distance between two geometrical objects of type Type1 and Type2, 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

as well as any combination of Kernel::Point_3 and Kernel::Weighted_point_3