(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

Tell me about...

(angtof string [mode])

(angtos angle [mode [precision]])

(polar point angle distance)

(rtos number [mode [precision]])

LISP Compatibility

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.