Click or drag to resize
Accord.NET (logo)

PointSquaredDistanceTo Method

Calculate squared Euclidean distance between two points.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public float SquaredDistanceTo(
	Point anotherPoint
)
Request Example View Source

Parameters

anotherPoint
Type: AccordPoint
Point to calculate distance to.

Return Value

Type: Single
Returns squared Euclidean distance between this point and anotherPoint points.
See Also