trimesh_lsc_mapping

trimesh_lsc_mapping(M)[source]

Compute the least squares conformal map of a triangle mesh.

Parameters:
Mtuple[list[list[float]], list[list[int]]]

A mesh represented by a tuple of (vertices, faces) where vertices are 3D points and faces are triangles

Returns:
list[list[float]]

The u, v parameters per vertex.