Calculate squared Euclidean distance between two points.

Namespace:  AForge
Assembly:  AForge (in AForge.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public double SquaredDistanceTo(
	DoublePoint anotherPoint
)

Parameters

anotherPoint
Type: AForge..::.DoublePoint
Point to calculate distance to.

Return Value

Returns squared Euclidean distance between this point and anotherPoint points.

See Also