next up previous 229
Next: Compilation
Up: Simple use of TRANSFORM Routines
Previous: Example 3. Creating a Cartesian-to-Polar transformation.


Temporary Transformations

The TRN_NEW routine may also be used to create a temporary transformation. This can be very convenient for internal use by an application because it avoids the need for an existing HDS structure to contain it. To create such a transformation, the ELOC argument to TRN_NEW should be replaced by a blank string (the NAME argument will then be ignored and may also be blank). Thus, if TRN_NEW were invoked by:

CALL TRN_NEW( NVIN, NVOUT, FOR, INV, PREC, COMM, ' ', ' ', LOCTR, STATUS )

then the locator LOCTR would subsequently be associated with a temporary transformation (i.e. a temporary HDS structure of type TRN_TRANSFORM).



next up previous 229
Next: Compilation
Up: Simple use of TRANSFORM Routines
Previous: Example 3. Creating a Cartesian-to-Polar transformation.

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

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