More send in time (also Point Inside PolyGon)

Monte Goulding monte at sweattechnologies.com
Mon Jun 30 19:46:00 EDT 2003


> >
> > On Monday, June 30, 2003, at 01:35 PM, Dar Scott wrote:
> >
> >>   if the mouseLoc is within the rectangle of graphic "Test"  then
> >
> >
> > I just read Monte's mail on testing whether a point is within a polygon
> > and realized that 'within()' and 'is within' are not the same function.
>
> How are they different?
>
One is testing if a point is in a rect the other is testing if a point is in
the clickable area of an object. That's a big diggerence for filled
polygons. And Dar is right there is a definite documentation bug there.

Regards

Monte




More information about the use-livecode mailing list