Returns the arc tangent of an expression that represents a numerical value. The range of ATAN is [-90o, 90o] (that is, -90o < ATAN(x) < 90o).
Format
ATAN(x)
Argument
x | Any valid expression that evaluates to a real number. |
Examples
The arc tangent (in radians) of the expression a/b where a is the x component of the distance between marker_2 and marker_3 and b is the y component of the distance between marker_2 and marker_3.
ATAN(DX(marker_2, marker_3)/ DY(marker_2, marker_3))
The figure below shows angle (in radians) between the line joining marker_3 and marker_4 and the global x-axis:
ATAN(DY(marker_4, marker_3)/ DX(marker_4, marker_3))