AGI_TNEW

Store a transformation in the database

Description:

The transformation defined by the pseudo-code FORTRAN statements DTOW and WTOD is stored in the database. The picture identifier signifies which picture is to receive the transformation structure. If this identifier is negative then the current picture will be used. If a transformation already exists for this picture then an error will be returned. The number of world variables NCW has to be equal to 2 otherwise an error will be returned. The number of data variables NCD also has to equal 2 in the present implementation.

Invocation

CALL AGI_TNEW ( NCD, NCW, DTOW, WTOD, PICID, STATUS )

Arguments

NCD = INTEGER (Given)
Number of data variables
NCW = INTEGER (Given)
Number of world variables
DTOW = CHARACTER ( )(NCW) (Given)
Array of forward transformation functions
WTOD = CHARACTER ( )(NCD) (Given)
Array of inverse transformation functions
PICID = INTEGER (Given)
Picture identifier
STATUS = INTEGER (Given and Returned)
The global status