User Portlet User Portlet

Discussions
How can I do the calculation to know if the line is passing through the rectangle (obstacle), since I only know the position of sta1 and sta2 and I also know the x_min, x_max and y_min, y_max of the rectangle? ![enter image description here][1] ...