Rhino Mesh Closest Point

Hello,

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…

thanks!

Brad

I believe Rhino uses a binary tree search.