Click or drag to resize
Accord.NET (logo)

DoublePointSquaredDistanceTo Method

Calculate squared Euclidean distance between two points.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.6.4-alpha
Syntax
public double SquaredDistanceTo(
	DoublePoint anotherPoint
)
Request Example View Source

Parameters

anotherPoint
Type: AccordDoublePoint
Point to calculate distance to.

Return Value

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