Block.face_adjacency_halfedge

Block.face_adjacency_halfedge(f1, f2)

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

Parameters:
f1int

The identifier of the first face.

f2int

The identifier of the second face.

Returns:
tuple[int, int] | None

The half-edge separating face 1 from face 2, or 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.