box-intersect

Function

Package: common-graphics

Arguments: box1 box2

Returns the box which is the intersection of the arguments, or nil if they do not intersect. Boxes which touch just on their edges or at the vertices are not considered to intersect. Thus,

(make-box 10 10 20 20)

does not intersect

(make-box 20 20 30 30)

but does intersect

(make-box 19 19 30 30)

See the description of the box class for general information on boxes.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.