Return the distance between a rectangle (defined using the bottom-left and top-right points) and a line (defined using start and end points)
bottom-left point of rectangle
top-right point of rectangle
start point of line
end point of line
The distance between the rectangle and the line
Return the distance between a rectangle (defined using the bottom-left and top-right points) and a line (defined using start and end points)