main/src/georegression/geometry/UtilPolygons2D_I32.java
public static void bounding( Polygon2D_I32 quad , Rectangle2D_I32 rectangle ) {

		UtilPolygons2D_I32.bounding(quad.vertexes.toList(),rectangle);
	}
public static void bounding( Polygon2D_I32 quad , Rectangle2D_I32 rectangle ) {

		UtilPolygons2D_I32.bounding(quad.vertexes.toList(),rectangle);
	}
Finds the minimum area bounding rectangle which is aligned to the x and y axis around the polygon.
Note (x0,y0) is inclusive and (x1,y1) is exclusive.

@param quad (Input) Quadrilateral
@param rectangle (Output) Minimum area rectangle