Overlapping detection
-
I want to know if there is any easy way to decide whether a group(or componentinstance) overloap with other group?
I find a way using trim function of Group to decide if two group is overlapping, but if there are a lots of group, I have to iterate every group, it is not so efficient.
so I am looking for more elegant solution. -
There is BoundingBox.intersect
But I gather you want to be more precise than so. So it will cost to calculate intersections for many Groups however you do it.
You don't mention if is this is on 1 plane or 3d.
Advertisement