edges

m3sh.iterators.edges(mesh)[source]

Edge iterator.

Formally, an undirected edge is defined as a pair of oppositely oriented halfedges. To visit the edges of a mesh, this iterator yields exactly one of the two halfedge representatives of an edge.

Parameters:

mesh (Mesh) – Mesh instance.

Yields:

Halfedge