mymesh.improvement.Flip#

mymesh.improvement.Flip(M, strategy='valence', verbose=True)[source]#

Edge/Face flipping of triangular and tetrahedral mesh quality improvement.

Parameters:
  • M (mymesh.mesh) – Tetrahedral or triangular mesh

  • strategy (str, optional) – Flipping strategy, by default ‘valence’

  • verbose (bool, optional) – If true, will display progress, by default True

Returns:

Mnew – Updated mesh

Return type:

mymesh.mesh