Click or drag to resize

TransformRotationZYZ Method

Create rotation transformation From Euler angles.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.11
Syntax
public static Transform RotationZYZ(
	double alpha,
	double beta,
	double gamma
)

Parameters

alpha
Type: SystemDouble
Angle, in radians, to rotate about the Z axis.
beta
Type: SystemDouble
Angle, in radians, to rotate about the Y axis.
gamma
Type: SystemDouble
Angle, in radians, to rotate about the X axis.

Return Value

Type: Transform
A transform matrix from Euler angles.
Remarks
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. Note, alpha and gamma are in the range (-pi, pi] while beta in the range [0, pi]
See Also