test line on side intersects rectangle at origin
test that parallel, nonoverlapping lines do not intersect