Hallo Andrea,
Arcustangens ist eine von AUTOLISP unterstützte Funktion
(aus der VLIDE-Hilfe 
...
(atan num1 [num2])
Arguments
num1
A number.
num2
A number.
Return Values
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 of num1. The range of angles returned is -pi/2 to +pi/2 radians.
...
Aus der Trigonometrie ist bekannt:
tan(alpha) = sin(alpha)/cos(alpha)
alpha = arctan[sin(alpha)/cos(alpha)] (1)
sin(alpha) = sqrt[1-cos(alpha)*cos(alpha)] (2)
Mit cos(alpha) = a
wird so aus (1) und (2)
alpha = actan{ (sqrt[1-a*a])/a }
und alpha ist ja auch arccos(a)
(Hoffentlich habe ich mich nicht vertippt...)
Beste Grüße
Jochen
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP