compas.datastructures.trimesh_smooth_laplacian_cotangent

compas.datastructures.trimesh_smooth_laplacian_cotangent(trimesh, fixed, kmax=10)[source]

Smooth a triangle mesh using a laplacian matrix with cotangent weights.

Parameters
  • trimesh (compas.datastructures.Mesh) – A triangle mesh.

  • fixed (list) – A list of fixed vertices.

  • kmax (int (optional, default is 10)) – The maximum number of smoothing rounds.