HalfFace.halfface_adjacent_halfface
- HalfFace.halfface_adjacent_halfface(halfface, halfedge)[source]
Return the halfface adjacent to the halfface across the halfedge.
- Parameters
halfface (int) – The identifier of the halfface.
halfedge (tuple[int, int]) – The identifier of the halfedge.
- Returns
int | None – The identifier of the adjacent half-face, or None if halfedge is on the boundary.
Notes
The adjacent face belongs a to one of the cell neighbors over faces of the initial cell. A face and its adjacent face share two common vertices.