(angle point1 point2)
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
- This function is different from the getangle function. Getangle prompts the user to select two points defining an angle.
- LISP always measures all angles in radians. Use the following LISP function
to convert degrees to radians:
(defun dtor (d) (* PI (/ d 180.0) )
Tell me about...
(angtos angle [mode [precision]])
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español