Synopsis

PDX_MSGT gdx_TransformComponents(long option, int out_units, int gdx_model)

Purpose

Converts data in the GDX components in the gdx model to the required units.

Description

Converts data in the GDX components in the gdx Model to the required out_units.

Program determines the scaling factor to convert the data and creates a transformation matrix with the scaling factor. Then program transforms all surfaces, curves (Not parametric space) and vertices in the GDX model.

Input

option

Options (not used)

out_units

Units flag from GDX Unit list .nf GDX Unit List GDX_MILES, GDX_FEET, GDX_INCHES, GDX_MILS, GDX_MICROINCH, GDX_KILOMETERS, GDX_HECTROMETERS, GDX_DECAMETERS, GDX_METERS, GDX_DECIMETERS, GDX_CENTIMETERS, GDX_MILLIMETERS, GDX_MICRONS .fi

gdx_model

GDX model number

Return

      PDX_NOERR
      .fi