HalfEdge.edge_faces

HalfEdge.edge_faces(edge)[source]

Find the two faces adjacent to an edge.

Parameters:
edgetuple[int, int]

The identifier of the edge.

Returns:
tuple[int, int]

The identifiers of the adjacent faces. If the edge is on the boundary, one of the identifiers is None.