edge_flaps#
- iskra.topology.edge_flaps(faces: Tensor) Tensor[SOURCE]#
Returns a tensor denoting the right and left faces of an edge.
Computes a tensor
flaps, such thatflaps[i, 0]is the index of the left face andedge_flaps[i, 1]the index of the right face containing edge \(i\). If an edge is a boundary edge and only has a triangle on one of its sides, the other side will be equal to -1.Caution
Assumes a manifold mesh.