@staticmethod
def bounding_box_overlap(line0, line1):
    """ Returns True if the bounding boxes of line0 and line1 intersect.
        Returns False otherwise, indicating a collision is impossible.

        Edge.bounding_box_overlap(np.arr[float(x4)], np.arr[float(x4)]) -> bool

        """
    x00, y00, x01, y01 = line0
    x10, y10, x11, y11 = line1
    x0_min = min(x00, x01)
    x0_max = max(x00, x01)
    x1_min = min(x10, x11)
    x1_max = max(x10, x11)
    if x0_max < x1_min or x1_max < x0_min:
        return False
    y0_min = min(y00, y01)
    y0_max = max(y00, y01)
    y1_min = min(y10, y11)
    y1_max = max(y10, y11)
    if y0_max < y1_min or y1_max < y0_min:
        return False
    return True
