aboutsummaryrefslogtreecommitdiff
path: root/sys/imio/impmsnev.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/imio/impmsnev.x')
-rw-r--r--sys/imio/impmsnev.x19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/imio/impmsnev.x b/sys/imio/impmsnev.x
new file mode 100644
index 00000000..f50fefb6
--- /dev/null
+++ b/sys/imio/impmsnev.x
@@ -0,0 +1,19 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <imhdr.h>
+include <imio.h>
+
+# IM_PMSNEV -- Test if a mask image section is nonempty.
+
+bool procedure im_pmsnev (im, vs, ve, ndim)
+
+pointer im #I image descriptor
+long vs[IM_MAXDIM] #I vector coordinates of start of section
+long ve[IM_MAXDIM] #I vector coordinates of end of section
+int ndim #I dimensionality of section
+
+bool pm_sectnotempty()
+
+begin
+ return (pm_sectnotempty (IM_PL(im), vs, ve, ndim))
+end