On Apr 7, 2008, at 8:46 AM, Jon Bradley wrote:
/** * Point inside polygon using winding number method * q Point2d A point 2d structure with x,y properties * p Polygon A polygon as an array of points in clockwise order* returns Boolean Point is inside polygon if winding (w) number is != 0*/
Forgot to add that the parameter "p" for the polygon is a closed loop where p[0] == p[n].
cheers, jon

