# Synopsis

PDX_MSGT gdx_GetXYZMatrixAngles(long option, GDX_MATRIX matrix, double *xrot, double *yrot, double *zrot)

# Purpose

Extract the XYZ rotation angles from a GDX matrix.

# Description

The rotation angles specified for a matrix will be returned. The order of rotation is XYZ. Note that the calculation of these angles does not result in a unique solution so they may not exactly match the original angles. However, a point rotated using these angles will be in the correct location.

# Input

## option

Options (not used)

## matrix

Matrix to extract angles from

# Output

## xrot

x Rotation angles specified by matrix

## yrot

y Rotation angles specified by matrix

## zrot

z Rotation angles specified by matrix

# Return

GDX error code