math - Java check if two rectangles overlap at any point -
I have several rectangular and one special rectangle: selection select I want to check each rectangle if at least in the rectangle There is a point inside the selection rectangle. Here is an image for clarity:
It will be found that rectangular overlapping another rectangle:
Public Boolean overlap (rectangle) {return x
Comments
Post a Comment