MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
643 stars 147 forks source link

mesh.closest_points() returns nan #36

Open jchibane opened 4 years ago

jchibane commented 4 years ago

Hi all,

I'd like to use your closest_points function as it is fast and accurate. However, for many meshes, it returns nan values (see sample in the attachments). Any ideas on how to solve this or a good workaround? Also, an alternative function would be welcome!

Thanks a lot, a great library, Julian

Pts2MeshProblem.zip