I have multiple rectangles and one special rectangle: the selection rect. I want to check for each rectangle if the rectangle contains at least one point which is inside the
If the first one implements RectangularShape and the second one is a Rectangle2D, you can simply use RectangularShape.intersects:
selectionRectangle.intersects(otherRectangle)
Tests if the interior of the Shape intersects the interior of a specified Rectangle2D
From the Oracle Java docs