Dim as Point
For a bit of code where the author defines a function like this:
Function pnpoly(npol As Integer, poly() as Point, x as Integer, Y as
Integer) as Boolean,
I am pretty sure the poly() input defined "as Point" is looking for an xy
point value for an edge of a polygon, but I am unsure how it is derived.
Any ideas? My thanks in advance for any comments or suggestions... this is a
function to identify whether an x-y data point falls inside of or outside of
a convex polygon.
Cheers! Brad
|