distanceToPoint

Returns the Euclidean distance from point to the nearest edge of this box (0 if inside). An empty box yields +Infinity.

Return

The euclidean distance.