AutoCAD 2012 帮助 | ![]() |
Returns the arctangent of a number in radians
(atan num1 [num2])
The arctangent of num1, in radians, if only num1 is supplied. If you supply both num1 and num2 arguments, atan returns the arctangent of num1/num2, in radians. If num2 is zero, it returns an angle of plus or minus 1.570796 radians (+90 degrees or -90 degrees), depending on the sign ofnum1. The range of angles returned is -pi/2 to +pi/2 radians.
Command: (atan 1)
0.785398
Command: (atan 1.0)
0.785398
Command: (atan 0.5)
0.463648
Command: (atan 1.0)
0.785398
Command: (atan -1.0)
-0.785398
Command: (atan 2.0 3.0)
0.588003
Command: (atan 2.0 -3.0)
2.55359
Command: (atan 1.0 0.0)
1.5708
A Functions | ![]() | |
abs | ||
acad_colordlg | ||
acad_helpdlg | ||
acad-pop-dbmod | ||
acad-push-dbmod | ||
acad_strlsort | ||
acad_truecolorcli | ||
acad_truecolordlg | ||
acdimenableupdate | ||
acet-layerp-mode | ||
acet-layerp-mark | ||
acet-laytrans | ||
acet-ms-to-ps | ||
acet-ps-to-ms | ||
action_tile | ||
add_list | ||
alert | ||
alloc | ||
and | ||
angle | ||
angtof | ||
angtos | ||
append | ||
apply | ||
arx | ||
arxload | ||
arxunload | ||
ascii | ||
assoc | ||
atan | ||
atof | ||
atoi | ||
atom | ||
atoms-family | ||
autoarxload | ||
autoload |