summery: when both verts are outside the viewport this is in fact a very old annoyance but good to resolve. fix by doing segment/rectangle intersection between the edge and the viewport so it works when the both verts are outside the view.
summery: when both verts are outside the viewport this is in fact a very old annoyance but good to resolve. fix by doing segment/rectangle intersection between the edge and the viewport so it works when the both verts are outside the view.