Click or drag to resize

QuaternionCreateFromRotationZYZ Method

Constructs a quaternion defined by Euler angles.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static Quaternion CreateFromRotationZYZ(
	double alpha,
	double beta,
	double gamma
)

Parameters

alpha
Type: SystemDouble
Angle, in radians, to rotate about the ZAxis.
beta
Type: SystemDouble
Angle, in radians, to rotate about the YAxis.
gamma
Type: SystemDouble
Angle, in radians, to rotate about the ZAxis.

Return Value

Type: Quaternion
The quaternion.
Remarks
CreateFromRotationZYZ(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.
See Also