ARCTAN F32 object
Bits
Posts: 414
What am I doing wrong? I am using the F32 object and simply want to get the Tan ˉ¹(1) or better yet Ө = Tanˉ¹m
I was expecting 45.0 but getting .79?
Pub ArcTan return Math.ATan(1.0)
I was expecting 45.0 but getting .79?
Comments
Thanks, I guess I need to read the comments further.
Make sure and check out the Arctan2 method. With Arctan2 you give it two parameters (X and Y) and it outputs the angle of those points from zero.
In most of my arctangent applications, I need to know the angle within a full circle not just one quadrant. Arctan2 does just this.
I have a dynamic slope that I simply want to convert it to angle. Ill keep at it.