RhinoMesh.closest_points

RhinoMesh.closest_points(points, maxdist=None)[source]

Compute the closest points on the mesh to a list of input points.

Parameters
  • points (list of point) – The input points.

  • maxdist (float, optional) – The maximum distance between the closest point and the mesh. Default is 0.0.

Returns

list of point – The XYZ coordinates of the closest points.