Click or drag to resize

TransformGetEulerZYZ Method

Find the Euler angles for a rotation transformation.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.11
Syntax
public bool GetEulerZYZ(
	out double alpha,
	out double beta,
	out double gamma
)

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: Boolean
If true, then this = 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.
Remarks
Note, alpha and gamma are in the range (-pi, pi] while beta in the range [0, pi]
See Also