Lives in: pygamer.surfacemesh

SurfaceMesh.coarse(self: pygamer.surfacemesh.SurfaceMesh, rate: float, flatRate: float, denseWeight: float, rings: int = 2, verbose: bool = False)None

Coarsen a surface mesh.

This operation selects vertices to decimate then removes them and retriangulates the resulting hole.

  • rate (float) – Threshold value for coarsening.

  • flatRate (float) – Priority of decimating flat regions.

  • denseWeight (float) – Priority of decimating dense regions.

  • rings (int) – Number of LST rings to consider.

  • verbose (bool) – Print details.