def cells_to_multi_polygon()

in src/h3/_cy/to_multipoly.pyx [0:0]


def cells_to_multi_polygon(const H3int[:] cells):
    # todo: gotta be a more elegant way to handle these...
    if len(cells) == 0:
        return []

    multipoly = _to_multi_polygon(cells)

    return multipoly