Click or drag to resize

MathRoutinesCalcAngleOfLineVectorFloat Method

LightningChart .NET Help
Calculates angle of line going from pointFrom to pointTo

Namespace:  Arction.Wpf.Charting
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static float CalcAngleOfLineVectorFloat(
	float x1,
	float y1,
	float x2,
	float y2
)

Parameters

x1
Type: SystemSingle
Point 1 X
y1
Type: SystemSingle
Point 1 Y
x2
Type: SystemSingle
Point 2 X
y2
Type: SystemSingle
Point 2 Y

Return Value

Type: Single
RotateAngle in radians, in range 0...2*Pi
See Also