Transform N-dimensional coordinates astTranN
If the coordinates are not stored in a single array, then the astTranP function might be more suitable.
"
in"
array (which contains the input coordinates). This value is required so that the
coordinate values can be correctly located if they do not entirely fill this array. The
value given should not be less than "
npoint"
. "
[ncoord_in][indim]"
, containing
the coordinates of the input (untransformed) points. These should be stored
such that the value of coordinate number "
coord"
for input point number "
point"
is found in element "
in[coord][point]"
. ’
s forward coordinate transformation is to be applied,
while a zero value indicates that the inverse transformation should be used. "
ncoord_in"
. "
out"
array (which will contain the
output coordinates). This value is required so that the coordinate values can be
correctly located if they will not entirely fill this array. The value given
should not be less than "
npoint"
. "
[ncoord_out][outdim]"
, into which the
coordinates of the output (transformed) points will be written. These will
be stored such that the value of coordinate number "
coord"
for output point
number "
point"
will be found in element "
out[coord][point]"
.