trimesh_pull_points_numpy
- compas.datastructures.trimesh_pull_points_numpy(mesh, points)[source]
Pull points onto a mesh by computing the closest point on the mesh for each of the points.
- Parameters
mesh (
compas.datastructures.Mesh
) β A mesh data structure.points (sequence[[float, float, float] |
compas.geometry.Point
]) β The input points.
- Returns
list[[float, float, float]] β The points on the mesh.
Notes
It will not be verified that the input mesh is a triangle mesh. It will just be treated as if it isβ¦