Efficient box/line trace proxy in math: is there a way to get location where line/box intersects box?

mmm… I’m trying to do something more efficient (though a bit less accurate) than a line or overlap trace… given a component’s bounds (location and extent), is there an efficient mathematical way in BP to get the location of the point where a line vector (or box) intersects it?