\( \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.11 - 2D and 3D Linear Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel::ComputeSquaredDistance_3 Concept Reference

Definition

Refines:
AdaptableFunctor (with two arguments)
See Also
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...
 

Member Function Documentation

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:

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