RhinoMesh.closest_point

RhinoMesh.closest_point(point, maxdist=0.0)[source]

Compute the closest point on the mesh to a given point.

Parameters
  • point (point) – A point location.

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

Returns

list – The XYZ coordinates of the closest point.