ANGLE
The angle of a direction (a step such as P2-P1).
Syntax
ANGLE(d)
| Argument | Meaning |
|---|---|
| d | A direction: a position, usually the step from one point to another. |
Result
An angle in radians, from -π to π, anticlockwise from the X axis.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
ANGLE([1,1]) |
0.7854 |
RTOD(ANGLE(P2-P0)) |
30.9638 |
Notes
For degrees, use RTOD.