Click or drag to resize
Accord.NET (logo)

DoublePointDistanceTo Method

Calculate Euclidean distance between two points.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public double DistanceTo(
	DoublePoint anotherPoint
)
Request Example View Source

Parameters

anotherPoint
Type: AccordDoublePoint
Point to calculate distance to.

Return Value

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