From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/imio/impmsne2.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/imio/impmsne2.x (limited to 'sys/imio/impmsne2.x') diff --git a/sys/imio/impmsne2.x b/sys/imio/impmsne2.x new file mode 100644 index 00000000..42cb7141 --- /dev/null +++ b/sys/imio/impmsne2.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# IM_PMSNE2 -- Pixel mask section not empty. + +bool procedure im_pmsne2 (im, x1, x2, y1, y2) + +pointer im #I image descriptor +int x1, x2 #I section to be tested +int y1, y2 #I section to be tested + +long vs[2], ve[2] +bool pm_sectnotempty() + +begin + vs[1] = x1; vs[2] = y1 + ve[1] = x2; ve[2] = y2 + + return (pm_sectnotempty (IM_PL(im), vs, ve, 2)) +end -- cgit