Inside or outside?

From: Paul Michael (pmichael@XXXXXX)
Date: Fri Jan 29 1999 - 15:06:00 MST


Hi,

This is almost relatd to NCAR GRaphics, so please indulge me.

Does anyone have a Fortran routine to determine whether a point is inside
or outside of a closed (possibly re-entrent) polygon.

I.e. something like:
   logical function isinit(x0,y0, xploy,ypoly, n)
to return .true. if x0,y0 is inside the polygon defined by n points, xpoly,
ypoly .

THANKS

                                                    Paul Michael
Building 490D
Department of Applied Science
                                                Voice 516-344-2264
Brookhaven National Lab FAX 516-344-2060
Upton, New York 11973 Email pmichael@bnl.gov



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:45:42 MDT