trimesh_swap_edge
- compas.datastructures.trimesh_swap_edge(mesh, edge, allow_boundary=True)[source]
Replace an edge of the mesh by an edge connecting the opposite vertices of the adjacent faces.
- Parameters:
- mesh
compas.datastructures.Mesh
Instance of mesh.
- edgetuple[int, int]
The identifier of the edge to swap.
- mesh
- Returns:
- None