POLAR
A point at an angle and distance from another.
Syntax
POLAR(p,angle,d)
POLAR(X,p,angle,dx)
POLAR(Y,p,angle,dy)
| Argument | Meaning |
|---|---|
| p | The position to go from. |
| angle | The angle, in degrees, anticlockwise from the X axis. |
| d | How far along the angle. |
| dx, dy | With X: how far across (the point on the angled line that far across); with Y: how far up. |
Result
A position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
POLAR(P0,30,100) |
[86.6025,50] |
POLAR(X,P0,45,20) |
[20,20] |
POLAR(Y,P0,30,10) |
[17.3205,10] |
Notes
These are what the Angle snap mode writes.
See also: POLARDISTANCEX, LEFT, RIGHT, UP, DOWN, ANGLE.