Click or drag to resize
Point2DDistanceTo Method
Returns the Euclidean distance between this point and that point.

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

Parameters

that
Type: Algs4NetPoint2D
the other point

Return Value

Type: Double
the Euclidean distance between this point and that point
See Also