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#
The distance between the two points.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
DoubleThe distance between the two points.