Mesh.halfedge_before

Mesh.halfedge_before(edge)[source]

Find the halfedge before the given halfedge in the same face.

Parameters:
edgetuple[int, int]

The identifier of the starting halfedge.

Returns:
tuple[int, int]

The previous halfedge.