共用方式為


GeometryUtil.GetDistance(Single, Single, Single, Single) Method

Definition

public:
 static float GetDistance(float x1, float y1, float x2, float y2);
public static float GetDistance (float x1, float y1, float x2, float y2);
static member GetDistance : single * single * single * single -> single
Public Shared Function GetDistance (x1 As Single, y1 As Single, x2 As Single, y2 As Single) As Single

Parameters

x1
Single
y1
Single
x2
Single
y2
Single

Returns

Applies to