RE: Test for within graphic?

2004-12-31 Thread Erik Hansen
this came up in the Incest Taboo: TypeChunk: no such object Object Rabbits and foxes Lineset the loc of button turtle to turtlePtToMousePt(xycor()) Hintturtle = [EMAIL PROTECTED]http://www.erikhansen.org __ Do You

RE: Test for within graphic?

2004-03-24 Thread Ken Ray
Yes - use the within() function: if within(grc Polygon,100,125) then -- etc. end if HTH, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: Test for within graphic?

2004-03-24 Thread Jim Hurley
Message: 4 Date: Wed, 24 Mar 2004 09:35:58 -0600 From: Ken Ray [EMAIL PROTECTED] Subject: RE: Test for within graphic? To: 'How to use Revolution' [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Yes - use the within() function: if within(grc

RE: Test for within graphic?

2004-03-24 Thread Ken Ray
For example the following beeps when two polygons intersect: Cool stuff... Notice that If tPoint is within the rect of grc myPoly is not the same as if within(grc myPoly,tPoint) although the docs says they should be. I confess this is a bit confusing, since put the