Determine the angle between these points.
This function returns the angle between point1 and point2 in the current UCS. The first point determines the line parallel to the x-axis. When point2 is plotted and connected to point1, the resulting angle is returned in radians.
Examples
Code | Returns |
---|---|
(angle '(1 1) '(3 3)) | 0.7854 |
(angle '(2.0 3.3 1.3) '(5.2 8.9 6.0)) | 1.0517 |
NOTES
(defun dtor (d)
(* PI (/ d 180.0)
)
Tell me about...
(angtos angle [mode [precision]])