code: public static boolean contains(Bbox parent, Bbox child) {
  		if (child.getX() < parent.getX()) {
  			return false;
  		}
  		if (child.getY() < parent.getY()) {
  			return false;
  		}
  		if (child.getMaxX() > parent.getMaxX()) {
  			return false;
  		}
  		if (child.getMaxY() > parent.getMaxY()) {
  			return false;
  		}
  		return true;
  	}
docs: Does one bounding box contain another?
  
  @param parent
  The parent bounding box in the relation. Does this one contain the child?
  @param child
  The child bounding box in the relation. Is this one contained within the parent?
  @return true if the child is completely contained(surrounded) by the parent, false otherwise.