HalfEdge.halfedge_face
- HalfEdge.halfedge_face(u, v)[source]
Find the face corresponding to a halfedge.
- Parameters
u (int) – The identifier of the first vertex.
v (int) – The identifier of the second vertex.
- 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.