Mesh.face_adjacency_halfedge

Mesh.face_adjacency_halfedge(f1, f2)[source]

Find one half-edge over which two faces are adjacent.

Parameters
  • f1 (hashable) – The identifier of the first face.

  • f2 (hashable) – The identifier of the second face.

Returns

  • tuple – The half-edge separating face 1 from face 2.

  • None – If the faces are not adjacent.

Notes

For use in form-finding algorithms, that rely on form-force duality information, further checks relating to the orientation of the corresponding are required.