The way to solve this is to know the coordinates of the points of the diagonal and compare
them.
If the coordinates are the same, then the rectangles "exactly overlap”.
If one set of rectangular coordinates lies within the range of the other rectangle, then
the rectangles overlap though not completely.
them.
If the coordinates are the same, then the rectangles "exactly overlap”.
If one set of rectangular coordinates lies within the range of the other rectangle, then
the rectangles overlap though not completely.
Comments
Post a Comment
https://gengwg.blogspot.com/