From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/imio/impmsne3.x | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/imio/impmsne3.x (limited to 'sys/imio/impmsne3.x') diff --git a/sys/imio/impmsne3.x b/sys/imio/impmsne3.x new file mode 100644 index 00000000..15a132d6 --- /dev/null +++ b/sys/imio/impmsne3.x @@ -0,0 +1,22 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# IM_PMSNE3 -- Pixel mask section not empty. + +bool procedure im_pmsne3 (im, x1,x2, y1,y2, z1,z2) + +pointer im #I image descriptor +int x1, x2 #I section to be tested +int y1, y2 #I section to be tested +int z1, z2 #I section to be tested + +long vs[3], ve[3] +bool pm_sectnotempty() + +begin + vs[1] = x1; vs[2] = y1; vs[3] = z1 + ve[1] = x2; ve[2] = y2; ve[3] = z2 + + return (pm_sectnotempty (IM_PL(im), vs, ve, 3)) +end -- cgit