You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output
Produces a segmentation fault and geodesic_library raises the error: Assertion failed: (std::find(map.begin(), map.end(), false) == map.end()), function verify, file ./geodesic_mesh.h, line 404.
Suggested fix
Before calculating geodesic distances, check that both points are referenced in the triangulation (otherwise no geodesic path can be found).
The text was updated successfully, but these errors were encountered:
p-j-smith
changed the title
distanceBetweenPoints causes segmentation fault if there is no geodesic path between two points
geodesic_new_mesh causes segmentation fault for some meshes
Jan 18, 2022
The problem is not that there is no path between the two points - the problem is with creating a mesh in private/geodesic_new_mesh. Line 32 is where the problem arises:
This issue is that the mesh in openep_dataset_2.mat is non-manifold. Perhaps meshlab could be used to re-mesh non-manifold geometries?
p-j-smith
changed the title
geodesic_new_mesh causes segmentation fault for some meshes
geodesic_new_mesh causes segmentation fault for non-manifold meshes
Jan 19, 2022
To reproduce
Output
Produces a segmentation fault and
geodesic_library
raises the error:Assertion failed: (std::find(map.begin(), map.end(), false) == map.end()), function verify, file ./geodesic_mesh.h, line 404.
Suggested fix
Before calculating geodesic distances, check that both points are referenced in the triangulation (otherwise no geodesic path can be found).
The text was updated successfully, but these errors were encountered: