Point.Distance Method
Returns the Euclidean distance between two points.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The distance between the two points.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.