diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/pmio/pmsplane.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/pmio/pmsplane.x')
-rw-r--r-- | sys/pmio/pmsplane.x | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/pmio/pmsplane.x b/sys/pmio/pmsplane.x new file mode 100644 index 00000000..4fcad1fd --- /dev/null +++ b/sys/pmio/pmsplane.x @@ -0,0 +1,22 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <pmset.h> +include <plio.h> + +# PM_SETPLANE -- Set the 2-Dim plane to be referenced in calls to the pm_box, +# pm_circle, etc. geometric region masking operators. + +procedure pm_setplane (pl, v) + +pointer pl #I mask descriptor +long v[ARB] #I vector defining plane + +include "pmio.com" + +begin + if (PM_MAPXY(pl) == YES) { + call imaplv (PM_REFIM(pl), v, v1, PM_MAXDIM) + call pl_setplane (pl, v1) + } else + call pl_setplane (pl, v) +end |