I haven't worked all the geometry functions available yet ;)
don't know the arcade engine

but here's a good source:

http://www.2dcurves.com/conicsection/conicsectionc.html

that's the place for curves ;)

other wise wolfram's reference is absolutely great.

but coming to thing of it, my pie control must do something like 
that...

http://www.monsieurx.com/modules.php?name=News&file=article&sid=162

there's a setting button to offset the fields in and out of the 
center of the pie chart. That's the one you are looking for...

the pseudo script would say

r = radius of circle
xy = center of circle or arc
xyR[1..4] are the polygon's rects,

for each item I in xyR 
  if distance xy -> I > r
  you're out of the circle...

cheers
Xavier


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Rossi
> Sent: Saturday, November 05, 2005 7:13 AM
> To: How to use Revolution
> Subject: Constrain Within Circle?
> 
> Anyone have a formula to constrain object dragging within a 
> circular region?
> 
> I'm guessing something like Arcade Engine has this in it, but 
> I really only need this one function.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: [EMAIL PROTECTED]
> W: http://www.tactilemedia.com
> 
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to