• Distance to an axis-aligned ellipse inscribed in the box a..b. Uses the normalised radius, scaled back by the smaller semi-axis: exact enough for a grab tolerance and far cheaper than the true closest-point solve.

    Parameters

    Returns number