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:
trimeshcompas.datastructures.Mesh

A triangle mesh.

fixedlist[int]

A list of fixed vertices.

kmaxint, optional

The maximum number of smoothing rounds.

Returns:
None

The mesh is modified in place.