trimesh_lscm

compas.geometry.trimesh_lscm(M)[source]

Compute the least squares conformal map of a triangle mesh.

Parameters

M (tuple) – A mesh represented by a list of vertices and a list of faces or by a COMPAS mesh object.

Returns

array – The u, v parameters per vertex.

Examples

>>>