[Jprogramming] Polygon containment
Boyko Bantchev
boykobb at gmail.com
Tue Apr 27 03:14:36 HKT 2010
On 26 April 2010 17:58, R.E. Boss <r.e.boss at planet.nl> 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
More information about the Programming
mailing list