lines originating from inside a rectangle intersect the rectangle