trimesh_harmonic

compas.geometry.trimesh_harmonic(M)[source]

Compute the harmonic parametrisation of a triangle mesh within a fixed circular boundary.

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

>>>