calculating distance between a point and a rectangular box (nearest point)
Asked 2011-03-10T02:37:54.187
56
is there a easy formula to calculate this? i've been working on some math but i can only find a way to calculate the distance directed to the center of the box, not directed to the nearest point.. are there some resources on this problem?