verse.utils.utils.interval_distance

verse.utils.utils.interval_distance(min_a: float, max_a: float, min_b: float, max_b: float)

Calculate the distance between [minA, maxA] and [minB, maxB] The distance will be negative if the intervals overlap