Click or drag to resize
Point2DDistanceSquaredTo Method
Returns the square of 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 DistanceSquaredTo(
	Point2D that
)

Parameters

that
Type: Algs4NetPoint2D
that the other point

Return Value

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