|
|
Ron Parker wrote:
>
>
> Are the boxes axis-aligned? If so, a few coordinate comparisons should
> be able to do the trick.
>
> If not, are they at least aligned with each other? If so, a few
> coordinate comparisons in a transformed coordinate system should do
> the trick.
>
> If they're neither, I think the plane intersections are all you have
> left, as it's conceivable that two boxes could intersect yet have all
> their corners on the outside of each other (though you could get away
> with edge-face comparisons, which might be preferable to face-face
> comparisons.) In fact, you'll still have to be careful, as it's also
> conceivable that two boxes can occupy a common volume yet not intersect
> at all.
The third case is true and I came to same conclusions. Good to know that
I wasn't wrong there. I guess I have to sit down on my bud and work it
out.
Thank you Ron,
Marc
--
Marc Schimmler
Post a reply to this message
|
|