[This is preliminary documentation and is subject to change.]
Calculates distance between two points
Namespace: NFX.GeometryAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static float Distance(
float x1,
float y1,
float x2,
float y2
)
public static float Distance(
float x1,
float y1,
float x2,
float y2
)
Public Shared Function Distance (
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single
) As Single
Public Shared Function Distance (
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single
) As Single
public:
static float Distance(
float x1,
float y1,
float x2,
float y2
)
public:
static float Distance(
float x1,
float y1,
float x2,
float y2
)
static member Distance :
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 -> float32
static member Distance :
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 -> float32
Return Value
Type:
Single