Function: rectToBox

CALL:

box = rectToBox(rect)

DESCRIPTION:

Convert rectangle [left bottom width height] to box [xmin xmax ymin ymax]

INPUT:

rect any
rectangle [left bottom width height]

OUTPUT:

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