Mesh.edge_faces

Mesh.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[int, int] – The identifiers of the adjacent faces. If the edge is on the boundary, one of the identifiers is None.