Determines the (unsigned) rotation angle for the upper 3x3 rotation part of the specified matrix.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double RotationAngle(
Matrix m
)
Parameters
- m Matrix
- The matrix.
Return Value
DoubleThe (unsigned) rotation angle, in the interval [0, PI].
Remarks
This returns the shortest angle of rotation required in order to align the indentity rotation with the upper
3x3 rotation part of the specified matrix. The redturned angle is guaranteed to be in the interval [0, PI].
See Also