From the parametric equation and the tvalues, we can calculate the intersection between a line and an edge as follows
Intersection on left edge

Intersection on right edge

Intersection on top edge

Intersection on bottom edge

From P. Asokarathinam -- see
details
27.11.1996