Determine intersection of a rectangular shaped element and a line segment.
The rectangular element to test against
The segment intersecting the element
Optional value to inflate the shape before testing
An array of intersections
Determine intersection of a rectangular shaped element and a line segment.