- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑
Description:
This function
returns the pixel offset for each requested dimension between two arrays. These values
are the offsets which should be added to the pixel indices of the first array to obtain the
indices of the corresponding pixel in the second array.
Invocation
void aryOffs( Ary
ary1, Ary
ary2, int mxoffs,
hdsdim offs,
int status
)
Notes:
-
The two array identifiers supplied need not refer to the same base array (although they may often do
so). If they do not, then the offset between the pixels in each array is determined by matching the pixel
indices of their respective base arrays.
-
Note that non-zero pixel offsets may exist even for dimensions which exceed the dimensionality of
either of the two arrays supplied. The symbolic constant ARY__MXDIM may be used to declare the
size of the OFFS argument so that it will be able to hold the maximum number of non-zero offsets that
this routine can return.
Parameters :
iary1
First array identifier.
iary2
Second array identifier.
mxoffs
Maximum number of pixel offsets to return (i.e. the declared size of the supplied "
offs"
array).
offs
Returned holding an array of pixel offsets for each dimension.
status
The global
status.
- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑