rect-intersect ( rect1 rect2 -- newrect )
Factor handbook » UI framework » Building user interfaces » Gadget geometry » Rectangles

Prev:<extent-rect> ( loc ext -- rect )
Next:rect-union ( rect1 rect2 -- newrect )


Vocabulary
math.rectangles

Inputs
rect1a rect
rect2a rect


Outputs
newrecta new rect


Word description
Computes the intersection of two rectangles.

Definition