More send in time (also Point Inside PolyGon)
J. Landman Gay
jacque at hyperactivesw.com
Mon Jun 30 21:24:00 EDT 2003
On 6/30/03 7:38 PM, Monte Goulding wrote:
>>>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.
Thanks, I was too lazy to go back and search for your script. I had no
idea they behaved differently. Interesting.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list