trimesh_isolines
- compas.geometry.trimesh_isolines(M, S, N=50)[source]
Compute isolines on a triangle mesh using a scalarfield of data points assigned to its vertices.
- 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.
- Slist[float]
A list of scalars.
- Nint, optional
The number of isolines.
- Mtuple[sequence[[float, float, float] |
- Returns:
- list[[float, float, float]]
The coordinates of the polyline points.
- list[[int, int]]
The segments of the polylines defined as pairs of points.
Notes
To convert the vertices and edges to sets of isolines, use
groupsort_isolines()
Examples
>>>