RadMath.GetPointDistance Method
Click or drag to resize
RadMathGetPointDistance Method
Gets the distance between two points in a plane.

Namespace: Telerik.Charting
Assembly: Telerik.WinControls.ChartView (in Telerik.WinControls.ChartView.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public static double GetPointDistance(
	double x1,
	double x2,
	double y1,
	double y2
)

Parameters

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

Return Value

Type: Double
See Also