trimesh_harmonic

compas.geometry.trimesh_harmonic(M)[source]

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

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

>>>