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 float SquaredDistanceTo(
	Point anotherPoint
)

Parameters

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

Return Value

Returns squared Euclidean distance between this point and anotherPoint points.

See Also