Synopsis

PDX_MSGT gdx_GetMatrixScales(long option, GDX_MATRIX gdx_mtx, double *xscale, double *yscale, double *zscale)

Purpose

Determine the DXF x, y, and z scales built into a GDX matrix.

Description

Determine the DXF x, y, and z scales built into a GDX matrix by getting the magnitude of the three vectors in the rotation part of the matrix.

Input

option

Options (not used)

gdx_mtx

Array of 12 doubles for gdx matrix

Output

xscale

The X scale value

yscale

The Y scale value

zscale

The Z scale value

Return

      DGDX_NOERR
      Low level error return
      .fi