trimesh_lscm

compas.geometry.trimesh_lscm(M)[source]

Compute the least squares conformal map of a triangle mesh.

Parameters:
Mtuple[sequence[[float, float, float] | compas.geometry.Point], sequence[[int, int, int]]]

A mesh represented by a list of vertices and a list of faces.

Returns:
list[[int, int]]

The u, v parameters per vertex.

Examples

>>>