VolMesh.cell_to_vertices_and_faces

VolMesh.cell_to_vertices_and_faces(cell)[source]

Return the vertices and faces of a cell.

Parameters

cell (int) – Identifier of the cell.

Returns

  • list[list[float]] – A list of vertices, represented by their XYZ coordinates,

  • list[list[int]] – A list of faces, with each face a list of vertex indices.