Function: rectIntersect

CALL:

rect = rectIntersect(rect1, rect2)

DESCRIPTION:

Compute the intersection of two rectangles

INPUT:

rect1 any
rectangle [left bottom width height]
rect2 any
rectangle [left bottom width height]

OUTPUT:

rect any
intersecting rectangle [left bottom width height]