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.
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |