Page 1 of 1

intersect function

Posted: Mon Mar 08, 2010 10:45 pm
by vtrbojevic
Hi Forum,

I was using the "intersect(object1, object2)" function where one object was a circle (oval) and the other rectangle. I have noticed that it flags intersection when the rectangle corner is not in the circle but in the square which bounds the circle. It seems that the only way out is to use "within" to check each corner of the rectangle. Is there any better way of doing this.

Regards,

Vladimir

Re: intersect function

Posted: Sat Mar 13, 2010 1:23 am
by Mark
Hi Vladimir,

Nope, I can't think of a better way of doing this. I had the same problem recently. If you have found a better way yourself, meanwhile, I'd be very interested.

Best,

Mark