
ang(p1,p2)
Determines the angle between the X axis and the line (p1,p2), oriented from
p1 to p2. The points are considered 2D, projected on the XY plane of the
current UCS.
ang(v)
Determines the angle between the X axis and vector v. The vector v is
considered 2D, projected on the XY plane of the current UCS.
The following examples show how angles are measured.
ang(v)
ang(p1,p2)
ang(p1,p2)
ang(apex,p1,p2,p)
apex
apex
p1
p2
p2
p1
p
p2
p1
v
Y
X
X
Y
You can determine the angle between the two sides of a triangle using the
ang
function, as shown in the following example:
Command: cal
204 | Chapter 5
Summary of Contents for AUTOCAD 2006
Page 1: ...February 2005 AutoCAD 2006 Command Reference ...
Page 24: ......
Page 30: ...6 ...
Page 212: ...188 ...
Page 448: ...424 ...
Page 554: ...530 ...
Page 584: ...560 ...
Page 588: ...564 ...
Page 660: ...636 ...
Page 750: ...726 ...
Page 760: ...736 ...
Page 960: ...936 ...
Page 1194: ...1170 ...
Page 1244: ...Undo Reverses the most recent change made by TRIM 1220 Chapter 21 ...
Page 1310: ...1286 ...
Page 1328: ...1304 ...
Page 1354: ...Zoom Window Zooms to display an area specified by a rectangular window 1330 Chapter 26 ...
Page 1490: ......