Math Help?

Scott Rossi scott at tactilemedia.com
Fri Apr 30 15:48:03 EDT 2010


Recently, DunbarX at aol.com wrote:

> If you have your three points, like "a,b", "c,d" and "e,f", just order the
> x values (a,c and e) and the y values (b,d and f).
> 
> If the x value of the point is greater than the lowest x value of the
> triple and less than the highest (and like wise for the y, then the point lies
> within the triangle.
> 
> I think.

Good thought, but if I understand what you're proposing, no, using the
extents of the triangle defines a rectangular region, so this will not work.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design





More information about the use-livecode mailing list