cellcomplex.property_topomesh.topological_operations.topomesh_flip_edge¶
-
cellcomplex.property_topomesh.topological_operations.topomesh_flip_edge(topomesh, eid, verbose=False, debug=False, loglevel=0)[source]¶ Perform an edge flip operation on a triangular PropertyTopomesh
The edge flip operation changes the vertices of a mesh edge to the two opposite vertices of its adjacent triangles. Thel local topological configuration has to be valid for the operation to be performed.
>>> •---• •---• >>> |\ | | /| >>> | \ | --> | / | >>> | \| |/ | >>> •---• •---•
- Parameters
topomesh (
cellcomplex.property_topomesh.PropertyTopomesh) – The structure on which to perform the operationeid (unsigned int) – The ID of the edge element to flip
- Returns
- Return type
Note
The PropertyTopomesh passed as argument is updated.
Warning
The PropertyTopomesh must be a triangular topomesh (
cellcomplex.property_topomesh.analysis.is_triangular())