code: public Bbox scale(double factor) {
  		if (factor > 0) {
  			double scaledWidth = width * factor;
  			double scaledHeight = height * factor;
  			Coordinate center = getCenterPoint();
  			return new Bbox(center.getX() - scaledWidth / 2, center.getY() - scaledHeight / 2, scaledWidth,
  					scaledHeight);
  		} else {
  			return new Bbox(this);
  		}
  	}
docs: Return a new bounding box which has the same center position but has been scaled with the specified factor.
  
  @param factor
  The scale factor (must be > 0).
  @return bbox