cortex.polyutils.Surface.iter_surfedges

property Surface.iter_surfedges

Iterate over all edges of the surface, one triangle at a time.

For each triangle (a, b, c) in polys, yields the edges (a, b), (b, c), (a, c). An edge shared by two triangles is yielded once per incident triangle, so non-border edges appear twice and border edges once – the same order used by iter_surfedges_weighted and edge_lengths.

Yields:
edgetuple of int

A pair of vertex indices forming one edge of one triangle.