Block.halfedge_before

Block.halfedge_before(edge)

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.