code: public Coordinate getCenterPoint() {
  		double centerX = (width == 0 ? x : x + width / 2);
  		double centerY = (height == 0 ? y : y + height / 2);
  		return new Coordinate(centerX, centerY);
  	}
docs: Get the center of the bounding box as a Coordinate.
  
  @return center point