On Wed, May 29, 2013 at 10:44 AM, Dar Scott <d...@swcp.com> wrote: > Consider a horizontal line through the point. Find the points where it > crosses the line segments of the sides. (Take care of the special case of > a line segment being on your horizontal line.) Count the points to the > left of your point. If it is odd, then the point is inside.
Ah, the CS 202 solution -- I was wondering if anyone would bring this up. You're giving me flashbacks, Dar ;-) _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode