VolMesh.to_vertices_and_cells

VolMesh.to_vertices_and_cells()[source]

Return the vertices and cells of a volmesh.

Returns:
list[list[float]]

A list of vertices, represented by their XYZ coordinates.

list[list[list[int]]]

A list of cells, with each cell a list of faces, and each face a list of vertex indices.