With my eyes, I can immediately determine if an object is located in the upper half of a box or in the lower half.
One will right away say that the white box is located in the lower part of the blue box.
But how can I calculate that in an efficient way?
Would I split the blue box in an uppper and lower half and then create intersecting rects for the white box and both parts and then have a look which intersecting rect is the one with the most volume?
Thank you!
Thank you!
