Two rectangles are given in two d space. Find if these are overlapping or not
Answers
Answered by
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
Math,
5 months ago
Computer Science,
5 months ago
Computer Science,
5 months ago
Economy,
10 months ago
Biology,
11 months ago
English,
11 months ago
Biology,
11 months ago