line-segment-intersects-box-p

Arguments:
end1 end2 box

Returns whether a line segment intersects a box.

end1 and end2
are position objects (see make-position) that specify the endpoints of a
line segment, and box is a box object (see make-box). If the objects intersect then true is
returned, and otherwise nil is returned.