trimesh_remesh_along_isolines

trimesh_remesh_along_isolines(M, scalars, isovalues)[source]

Remesh a triangle mesh along multiple isolines.

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

scalarslist[float]

A scalar value per vertex.

isovalueslist[float]

The values at which to compute the isolines.

Returns:
tuple[list[list[float]], list[list[int]], list[float], list[int]]

A tuple containing * the vertices of the remeshed mesh, * the faces of the remeshed mesh, * scalar values for the vertices of the remeshed mesh, * labels for the faces of the remeshed mesh.