public static BoundingBox createBoundingBox( String id, double x, double y, double width, double height) { BoundingBox bounds = new BoundingBox(); bounds.setId(id); bounds.setX(x); bounds.setY(y); bounds.setWidth(width); bounds.setHeight(height); return bounds; }