HalfEdge.halfedge_face
- HalfEdge.halfedge_face(edge)[source]
Find the face corresponding to a halfedge.
- Parameters:
- edgetuple[int, int]
The identifier of the halfedge.
- Returns:
- int | None
The identifier of the face corresponding to the halfedge. None, if the halfedge is on the outside of a boundary.
- Raises:
- KeyError
If the halfedge does not exist.