SMC_Matrix3_FromZYZ_deg (FUN)

 

FUNCTION SMC_Matrix3_FromZYZ_deg : BOOL

Computes the rotation matrix from angles A,B,C around Z, Y', Z' as mR = Rz(A) * Ry(B) * Rz(C).

Note

The columns of mR are the x, y, and z-axis of the rotated object coordinate system, expressed in the base coordinates.

InOut:

Scope

Name

Type

Comment

Return

SMC_Matrix3_FromZYZ_deg

BOOL

Inout

mR

SMC_Matrix3

The resulting rotation matrix

Input

dA_deg

LREAL

Rotation around Z-axis in degree

dB_deg

LREAL

Rotation around Y'-axis in degree

dC_deg

LREAL

Rotation around Z'-axis in degree