Synopsis

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

Purpose

Converts data (including tolerances) to the required units.

Description

Converts data (including tolerances) in the GDX Model to the required out_units. Program determines the scaling factor to convert the data and creates transformation matrix with the scaling factor. Then the program a 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