atan2 (<num1>,<num2>)
numeric
The arctangent derived from two numeric values. The measure of the returned angle is governed by the value of the system string angle_mode and will be in the range 0 through 360 degrees or equivalent.
The values are normalized prior to evaluation. On error, zero is returned.
<num1>
The dy value (sine).
<num2>
The dx value (cosine).
numeric theta = atan2(0.707,0.707)
Functions: |
atan (numeric) |
Identifiers: |
angle_mode (string) |