code: public static Coordinate getCenterPoint(Bbox bbox) {
  		double centerX = (bbox.getWidth() == 0 ? bbox.getX() : bbox.getX() + bbox.getWidth() / 2);
  		double centerY = (bbox.getHeight() == 0 ? bbox.getY() : bbox.getY() + bbox.getHeight() / 2);
  		return new Coordinate(centerX, centerY);
  	}
docs: Get the center of the bounding box as a Coordinate.
  
  @param bbox
  The bounding box to get the center point for.
  @return The center of the given bounding box as a new coordinate.