m3sh.hds.Mesh.
flip_halfedge#
- Mesh.flip_halfedge(halfedge, *, check=True)#
Flip halfedge.
Only halfedges incident to triangular faces can be flipped.
- Parameters:
- halfedgeHalfedge
The halfedge to be flipped.
- checkbool, optional
Pass
Falseto skip flippability test.
- Returns:
- Halfedge
The halfedge resulting from the edge flip or
Nonein case of failure (the latter behavior requirescheck=True).
Notes
It is assumed that the applicability of an edge flip has been checked explicitly via
flippablewhen skipping the test. Unchecked edge flipping results in undefined behavior.