HalfEdge.edge_faces

HalfEdge.edge_faces(u, v)[source]

Find the two faces adjacent to an edge.

Parameters
  • u (int) – The identifier of the first vertex.

  • v (int) – The identifier of the second vertex.

Returns

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