next up previous 229
Next: Transforming 1-Dimensional Coordinate Data
Up: Simple use of TRANSFORM Routines
Previous: Compilation


Inquiry Routines

An application may determine the number of input and output variables used by a transformation by calling TRN_GTNV (get numbers of variables), thus:

CALL TRN_GTNV( LOCTR, NVIN, NVOUT, STATUS )

The information is returned via the NVIN and NVOUT arguments. Since TRN_GTNV first checks that the locator LOCTR is associated with a valid transformation, this also provides a convenient way of validating a transformation.

A similar routine TRN_GTNVC (get numbers of compiled variables) is provided for use with compiled mappings:

CALL TRN_GTNVC( ID, NVIN, NVOUT, STATUS )

In this case, the mapping is specified by its integer identifier ID.



next up previous 229
Next: Transforming 1-Dimensional Coordinate Data
Up: Simple use of TRANSFORM Routines
Previous: Compilation

TRANSFORM Coordinate Transformation Facility
Starlink User Note 61
R.F. Warren-Smith
12th January 2006
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils