Click or drag to resize
ClosestPairDistance Method
Returns the Eucliden distance between the closest pair of points.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double Distance()

Return Value

Type: Double
the Euclidean distance between the closest pair of points double.PositiveInfinity if no such pair of points exist (because there are fewer than 2 points)
See Also