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/plio/plpolygon.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/plio/plpolygon.h (limited to 'sys/plio/plpolygon.h') diff --git a/sys/plio/plpolygon.h b/sys/plio/plpolygon.h new file mode 100644 index 00000000..764b32ae --- /dev/null +++ b/sys/plio/plpolygon.h @@ -0,0 +1,16 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + + +define TOL 0.0001 # pixel units +define swapi {tempi=$2;$2=$1;$1=tempi} +define swapr {tempr=$2;$2=$1;$1=tempr} +define equal (abs($1-$2)