The distance between two points.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static float DistanceF(
	float x1,
	float y1,
	float x2,
	float y2
)

Parameters

x1
Type: System..::.Single
X-coordinate of the first point.
y1
Type: System..::.Single
Y-coordinate of the first point.
x2
Type: System..::.Single
X-coordinate of the second point.
y2
Type: System..::.Single
Y-coordinate of the second point.

See Also