project_points_on_mesh

compas_cgal.meshing.project_points_on_mesh(points, mesh)[source]

Project points onto a mesh by closest perpendicular distance.

Parameters:
pointslist[list[float]]

The points to project.

meshcompas_cgal.types.VerticesFaces

Mesh that the points are projected onto.

Returns:
list[list[float]]

The projected points (vertices on the mesh surface).