Click or drag to resize
Accord.NET (logo)

PointDistanceTo Method

Calculate Euclidean distance between two points.

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

Parameters

anotherPoint
Type: AccordPoint
Point to calculate distance to.

Return Value

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