Vector3D.GetAngle(a,b,axis)
![]() 7/1/2013 4:53 PM
|
---|
Hi Reader,
I have a question about this Method.
How does it work, what does it do?
C# Code: private static double GetAngle( |
![]() 7/4/2013 12:36 PM
|
---|
Sorry to disappoint you, and sorry for the bad documentation of both GetAngle() methods.
The method with two arguments works as you might expect, but the 3 argument method is an internally used helper method which escaped into the open. It is only useful in entity transformation, but gives no access to the rotation angle around the axis in which you are interested.
I also added a GetAngleAroundAxis() method, which does what you are looking for. It will appear in the next release, but if you don't want to wait here's its code:
C# Code: / |