Point.Distance Method

Returns the Euclidean distance between two points.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static double Distance(
	Point point1,
	Point point2
)

Parameters

point1  Point
A Point structure for the first point.
point2  Point
A Point structure for the second point.

Return Value

Double
The distance between the two points.

See Also