# NAME

GDX_MODEL_VAR - Model Variables

# GENERAL DESCRIPTION

A GDX Model Variables entity is an entity to store the variables related to the whole model such as units, precisions, native precision (precision used to built the data) etc.

gdx_SaveModel function updates the precision and angle_precision values with the model_space_tol and angle_tol set at that time.

The function gdx_RestoreModel must be used to set the model_space_tol and angle_tol with precision and angle_precision respectively. Precision and angle_precision values are not accessed by any other GDX function and it is for information purposes only.

# DDF SPECIFICATION

    entity 110:0 GDX_MODEL_VAR "Precisions" {

    int
    UNITS

    double
    PRECISION

    double
    ANGLE_PRECISION

    double
    NATIVE_PRECISION

    };

    };

# FIELD DESCRIPTIONS

UNITS

Units represented in the GDX Model UNKNOWN = 0 MILES = 1 FEET = 2 INCHES = 3 MILS = 4 MICROINCHES = 5 KILOMETERS = 11 HECTOMETERS = 12 DECAMETERS = 13 METERS = 14 DECIMETERS = 15 CENTIMETERS = 16 MILLIMETERS = 17 MICRONS = 18

PRECISION

The maximum linear distance between two points in model space where the points are considered coincident. Corresponds to the GDX model space tolerance.

ANGLE_PRECISION

The maximum angle between two vectors where the two vectors are considered to be parallel. Corresponds to the GDX angular tolerance.

NATIVE_PRECISION

The maximum linear tolerance used in the native system.

# RESTRICTIONS

Each GDX model should have zero or one Model Variable entity.