TMAT

Returns a 3x3 transformation matrix using the values in the orientation sequence you specified.

Format

TMAT (E, OriType)

Arguments

 
E
3x1 Euler orientation sequence.
OriType
Character string describing the contents of E. To define the rotation sequence, enter space or body (character case is ignored), followed by three digits, such as 313 or 123.

Example

The following example illustrates the use of the TMAT function:
TMAT(mar1.orientation, "space123")
You can obtain the current default orientation type string with the expression:
(user_string(".system_defaults.orientation_type"))