Returns the Euclidean distance between two points.
Namespace:
Extreme.Mathematics.Curves
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double Distance(
Point point1,
Point point2
)
Public Shared Function Distance (
point1 As Point,
point2 As Point
) As Double
public:
static double Distance(
Point point1,
Point point2
)
static member Distance :
point1 : Point *
point2 : Point -> float
Parameters
- point1
- Type: Extreme.Mathematics.CurvesPoint
A Point structure for the first point. - point2
- Type: Extreme.Mathematics.CurvesPoint
A Point structure for the second point.
Return Value
Type:
DoubleThe distance between the two points.
Reference