Flexivert Library Documentation
Angle Method (px1, py1, px2, py2)
NamespacesFlexivert.UtilsFVMathAngle(Single, Single, Single, Single)
Calculates the angle between a line and the horizontal line.
Declaration Syntax
C#Visual BasicVisual C++
public static float Angle(
	float px1,
	float py1,
	float px2,
	float py2
)
Public Shared Function Angle ( _
	px1 As Single, _
	py1 As Single, _
	px2 As Single, _
	py2 As Single _
) As Single
public:
static float Angle(
	float px1, 
	float py1, 
	float px2, 
	float py2
)
Parameters
px1 (Single)
The x position of the first point of the line.
py1 (Single)
The y position of the first point of the line.
px2 (Single)
The x position of the second point of the line.
py2 (Single)
The y position of the second point of the line.
Return Value
The calculated angle, in radians

Assembly: FVCore (Module: FVCore) Version: 0.5.8.1 (0.5.8.12)