I am trying to determine whether or not any part of a line segment is located within a square box.
I have the coordinates of the line segment end points and the corners of the square box.
This problem is easy for the case where one or both end points are located in the box, but I don't know...