Thanks for falsifying W2. I have to look into it.
R.E. Boss > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:programming- > [email protected]] Namens Boyko Bantchev > Verzonden: maandag 26 april 2010 21:15 > Aan: Programming forum > Onderwerp: Re: [Jprogramming] Polygon containment > > On 26 April 2010 17:58, R.E. Boss <[email protected]> wrote: > > ... > > 1. if 0 0 is not in the polygon, subtract (+/ % #)PLG from PLG and PTS > > It seems like we'll have to solve for 0 0 the problem that we are > trying to solve in the first place. > > > Some investigation has to be done whether W2 also works for more > uncommon > > polygons, like with intersections. > > It does not work even for lots of simple polygons: > (4 2$_10 0 9 _5 _8 0 9 5) W2 0 0 > 1 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
