Forceflow / trimesh2

C++ library and set of utilities for input, output, and basic manipulation of 3D triangle meshes
GNU General Public License v2.0
305 stars 72 forks source link

icp error #21

Open GridGeneration opened 10 months ago

GridGeneration commented 10 months ago

Crash occurs when median_dist is 0

GridGeneration commented 10 months ago

if (median_dist) maxdist = DIST_THRESH_MULT * median_dist; else if (std::abs(median_dist) <= 1e-5) return 0;