trimesh_remesh_along_isoline
- compas.geometry.trimesh_remesh_along_isoline(mesh, scalarfield, scalar)[source]
Remesh a mesh along an isoline of a scalarfield over the vertices.
- Parameters
mesh (tuple or
compas.datastructures.Mesh
) – A mesh represented by a list of vertices and a list of faces or a COMPAS mesh object.scalarfield (list or array of float) – A scalar value per vertex of the mesh.
scalar (float) – A value within the range of the scalarfield.
- Returns
tuple – Vertices and faces of the remeshed mesh.
Examples
>>>