Rhino Mesh Closest Point


I wanted to know what algorithm rhino is using to get the closest point of a mesh from a point. A little background: We are writing a signed distance function, & was wondering if there is a faster way to loop through each grid & get the distance to closest point on a mesh, then get the sign by figuring out if the mesh contains or doesn’t contain…



I believe Rhino uses a binary tree search.