VolMesh.edges
- VolMesh.edges(data=False)[source]
Iterate over the edges of the volmesh.
- Parameters
data (bool, optional) – If True, yield the edge attributes as well as the edge identifiers.
- Yields
tuple[int, int] | tuple[tuple[int, int], dict[str, Any]] – If data is False, the next edge as a (u, v) tuple. If data is True, the next edge as a ((u, v), attr) tuple.