Telerik UI for Windows Phone by Progress

Gets the distance between two points in a plane.

Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart (in Telerik.Windows.Controls.Chart.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public static double GetPointDistance(
	double x1,
	double x2,
	double y1,
	double y2
)
Visual Basic
Public Shared Function GetPointDistance ( _
	x1 As Double, _
	x2 As Double, _
	y1 As Double, _
	y2 As Double _
) As Double
Visual C++
public:
static double GetPointDistance(
	double x1, 
	double x2, 
	double y1, 
	double y2
)

Parameters

x1
Type: System..::..Double
The x-coordinate of the first point.
x2
Type: System..::..Double
The x-coordinate of the second point.
y1
Type: System..::..Double
The y-coordinate of the first point.
y2
Type: System..::..Double
The y-coordinate of the second point.

See Also