def length(edge):
    """
    Return the length of an edge
    Args:
        edge: edge, two points

    Returns:

    """
    p_1 = edge[0]
    p_2 = edge[1]
    return norm(p_1[0] - p_2[0], p_1[1] - p_2[1])

    Return the length of an edge
    Args:
        edge: edge, two points

    Returns:

    
metadrive/utils/shapely_utils/geom.py