- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine applies a forward mapping to the co-ordinates of all pixel corners in an
n-dimensional array in order to find the limits of the array after a transformation (forward
mapping) has been applied. It assumes equally spaced co-ordinates which will be true for pixel
co-ordinates and many sets of data co-ordinates, but should be adequate even for unevenly
spaced data co-ordinates. It will only give poor results for strange transformations with
singularities.
Invocation
CALL KPG1_TRALx( NDIMI, IDIMS, LBND, UBND, TRID, IEL, NDIMO,
COIN, COOUT, COMIN, COMAX, STATUS )
Arguments
NDIMI = INTEGER (Given)
The
dimensionality of the input array.
IDIMS( NDIMI ) = INTEGER (Given)
The dimensions of the
associated input n-dimensional data array.
LBND( NDIMI ) = ? (Given)
The co-ordinates
of the lower bounds of the associated input n-dimensional array.
UBND( NDIMI ) =
? (Given)
The co-ordinates of the upper bounds of the associated input n-dimensional
array.
TRID = INTEGER (Given)
The TRANSFORM identifier of the mapping.
IEL =
INTEGER (Given)
The first dimension of the work arrays. It should be at least IDIMS( 1 )
1.
NDIMO = INTEGER (Given)
The dimensionality of the output array.
COIN( IEL, NDIMI ) =
DOUBLE PRECISION (Returned)
Workspace used to store the co-ordinates of a row of points in the
input array.
COOUT( IEL, NDIMO ) = DOUBLE PRECISION (Returned)
Workspace
used to store the co-ordinates of a row of points in the output array.
COMIN( NDIMO )
= ? (Returned)
The minimum co-ordinate along each dimension of the output array.
COMAX( NDIMO ) = ? (Returned)
The maximum co-ordinate along each dimension of the
output array.
STATUS = INTEGER (Given and Returned).
Global status value
Notes:
Bugs:
{note_bugs_here}
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑