MathRoutinesCalcAngleOfLineVectorFloat Method |
LightningChart .NET Help
Calculates angle of line going from pointFrom to pointTo
Namespace:
Arction.WinForms.Charting
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static float CalcAngleOfLineVectorFloat(
float x1,
float y1,
float x2,
float y2
)
Public Shared Function CalcAngleOfLineVectorFloat (
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single
) As Single
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:
SingleRotateAngle in radians, in range 0...2*Pi
See Also