main/src/georegression/geometry/UtilPolygons2D_F64.java
public static void convert( RectangleLength2D_I32 input , Quadrilateral_F64 output ) {
		output.a.x = input.x0;
		output.a.y = input.y0;

		output.b.x = input.x0+input.width-1;
		output.b.y = input.y0;

		output.c.x = input.x0+input.width-1;
		output.c.y = input.y0+input.height-1;

		output.d.x = input.x0;
		output.d.y = input.y0+input.height-1;
	}
public static void convert( RectangleLength2D_I32 input , Quadrilateral_F64 output ) {
		output.a.x = input.x0;
		output.a.y = input.y0;

		output.b.x = input.x0+input.width-1;
		output.b.y = input.y0;

		output.c.x = input.x0+input.width-1;
		output.c.y = input.y0+input.height-1;

		output.d.x = input.x0;
		output.d.y = input.y0+input.height-1;
	}
public static void convert ( RectangleLength2D_I32 input , Quadrilateral_F64 output ) { output . a . x = input . x0 ; output . a . y = input . y0 ; output . b . x = input . x0 + input . width - 1 ; output . b . y = input . y0 ; output . c . x = input . x0 + input . width - 1 ; output . c . y = input . y0 + input . height - 1 ; output . d . x = input . x0 ; output . d . y = input . y0 + input . height - 1 ; }
Converts a rectangle into a quadrilateral

@param input Rectangle.
@param output Quadrilateral.  Modified.
Converts a rectangle into a quadrilateral