Hello
I have a rectangle (of any given size) who's sides run parallel to the x and y axes.
I then have a point, outside of this rectangle. I need to find the shortest distance between that point, and the given rectangle.
I know it will (obviously) lie somewhere on the perimeter, but I am unsure of how to figure it out. Any help would be appreciated
- Adam
I have a rectangle (of any given size) who's sides run parallel to the x and y axes.
I then have a point, outside of this rectangle. I need to find the shortest distance between that point, and the given rectangle.
I know it will (obviously) lie somewhere on the perimeter, but I am unsure of how to figure it out. Any help would be appreciated
- Adam