(polar point angle distance)
Find a point using polar coordinates.
This function returns a 3-D point at an angle and distance from another point. The given point is rotated by the angle specified in radians, then moved the specified distance from the point.
Examples
Code | Returns |
---|---|
(polar '(1 2) 1.570796 2) | (1 4) |
(polar '(3.13397 1) 0.523598775 1 | (4 1.5) |
NOTE The angle is measured in radians relative to the x-axis with radians increasing counterclockwise.