VolMesh.vertices

VolMesh.vertices(data=False)[source]

Iterate over the vertices of the volmesh.

Parameters:
databool, optional

If True, yield the vertex attributes in addition to the vertex identifiers.

Yields:
int | tuple[int, dict[str, Any]]

If data is False, the next vertex identifier. If data is True, the next vertex as a (vertex, attr) a tuple.

See also

edges(), faces(), cells()