def extract_bounds(bounds):
    """
    Extract coordinate tuples from bound objects.
    """
    res = []
    for bound in bounds:
        coords = []
        for vertex in bound.vertices:
            coords.append((vertex.x, vertex.y))
        res.append(coords)
    return res