The distance between two points.

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

Syntax

C#
public static double Distance(
	double x1,
	double y1,
	double x2,
	double y2
)

Parameters

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

See Also