Synopsis

void imth_SetZYXMatrixFromAngles(double ax, double ay, double az, double dx, double dy, double dz, IMTH_MATRIX mat)

Purpose

Create an IGES matrix form ZYX rotation angles

Description

Create an IGES 3X4 matrix from rotations angles that rotate about the Z axis, then the Y axis and finally the X axis and an XYZ translation.

Input

ax

Angle of rotation about the x-axis

ay

Angle of rotation about the y-axis

az

Angle of rotation about the z-axis

dx

Offset in the x direction

dy

Offset in the y direction

dz

Offset in the z direction

Output

mat

The IGES rotation matrix