title: Java check if two rectangles overlap at any point
body: <p>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 selection rectangle.
  Here is an image for clarity:</p>
  
  <p><img src="https://i.stack.imgur.com/OS2GT.png" alt="Selection example"></p>