Math, asked by Junaod1897, 10 months ago

Two rectangles are given in two d space. Find if these are overlapping or not

Answers

Answered by Anonymous
0

One solution is to one by one pick all points of one rectangle and see if the point lies inside the other rectangle or not. This can be done using the algorithm discussed here. Following is a simpler approach. Two rectangles do not overlap if one of the following conditions is true.

Similar questions