Function: boxToRect

CALL:

rect = boxToRect(box)

DESCRIPTION:

boxToRect, convert box [xmin xmax ymin ymax] to rectangle [left bottom width height]

INPUT:

box any
box representation of rectangle [xmin xmax ymin ymax]

OUTPUT:

rect any
rectangle [left bottom width height]