contains-rect? ( rect1 rect2 -- ? )
Factor handbook > UI framework > Building user interfaces > Gadget geometry > Rectangles

Prev:rect-union ( rect1 rect2 -- newrect )
Next:contains-point? ( point rect -- ? )


Vocabulary
math.rectangles

Inputs and outputs
rect1a rect
rect2a rect
?a boolean


Word description
Tests if two rectangles have a non-empty intersection.

Definition


Methods