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 (Mesh) – A triangle mesh.

  • fixed (list[int]) – A list of fixed vertices.

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

Returns

None – The mesh is modified in place.