is within ... polygon shape?

Jon jbondy at sover.net
Fri Jun 24 15:07:04 EDT 2005


Way off topic.  I think it is "piqued my interest".  Probably a French 
derivation.  C'est vrai?

Jon


Lynch, Jonathan wrote:

>Good stuff...
>
>I was not the original asker for this - I just chimed in because it
>peaked my interest.
>
>Cheers,
>
>J
>
>-----Original Message-----
>From: use-revolution-bounces at lists.runrev.com
>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott
>Rossi
>Sent: Friday, June 24, 2005 1:23 PM
>To: How to use Revolution
>Subject: Re: is within ... polygon shape?
>
>Recently, Jim Hurley  wrote:
>
>  
>
>>I don't understand what you mean when you say it fails with large
>>    
>>
>polygons.
>  
>
>>In the stack below, it doesn't seem to make any difference how large
>>the polygons are. I can't image why Rev would fail to recognize when
>>a point is within a polygon.
>>
>>go stack url
>>    
>>
>"http://home.infostations.net/jhurley/CollidingPolygons.rev"
>
>Because on my end I tried:
>
>  if firstWithinSecond("mypoly1","mypoly2") *and* ...
>
>instead of:
>
>  if firstWithinSecond("mypoly1","mypoly2") *or*
>
>Replacing "and" with "or" makes your routine work as expected (I should
>have
>known something was up on my end being the math guru that you are).
>
>So Jonathan, there you are: two routines that allow you to test
>intersection
>with images or polygons.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Multimedia & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>  
>


More information about the use-livecode mailing list