I think so for point in polygon, see attached. It's an old attempt of mine, with a mechanism to draw polygons in Gem and then tell in which polygon your mouse pointer is.
2017-04-20 9:13 GMT+02:00 Max abonnements@revolwear.com:
Did someone here solve this in Pd before?
https://en.wikipedia.org/wiki/Point_in_polygon https://rosettacode.org/wiki/Ray-casting_algorithm
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list