RhinoCommon API
TransformGetEulerZYZ Method |
Find the Euler angles for a rotation transformation.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
public bool GetEulerZYZ( out double alpha, out double beta, out double gamma )
Public Function GetEulerZYZ ( <OutAttribute> ByRef alpha As Double, <OutAttribute> ByRef beta As Double, <OutAttribute> ByRef gamma As Double ) As Boolean
Parameters
- alpha
- Type: SystemDouble
Angle of rotation, in radians, about the Z axis. - beta
- Type: SystemDouble
Angle of rotation, in radians, about the Y axis. - gamma
- Type: SystemDouble
Angle of rotation, in radians, about the Z axis.
Return Value
Type: BooleanIf true, then RotationZYZ(alpha, beta, gamma) = R_z(alpha) * R_y(beta) * R_z(gamma) where R_*(angle) is rotation of angle radians about the corresponding *-world coordinate axis. If false, then this is not a rotation.
Note, alpha and gamma are in the range (-pi, pi] while beta in in the range [0, pi]