Cell.to_polygons

Cell.to_polygons()

Convert the mesh to a collection of polygons.

Returns

list[list[list[float]]] – A list of polygons defined each as a list of points.