Closed p-j-smith closed 2 years ago
Hi, thank you for creating geodesic_matlab!
geodesic_matlab
For some inputs, geodesic_new_mesh causes a segmentation fault. This issue occurs on line 32, where the library is called:
geodesic_new_mesh
[id, tmp1, tmp2, num_edges, edges] = calllib(geodesic_library, 'new_mesh', length(p)/3, p, length(t)/3, t, 1, tmp);
To reproduce:
load points.mat load tri.mat geodesic_new_mesh(points, tri)
I've included points.mat, tri.mat, and the crash report in new_mesh_crashes.zip
points.mat
tri.mat
Any suggestions would be much appreciated!
Hi! I think the problem is the mesh is not manifold, as shown in the red circle.
Ah, that makes sense, thank you so much for your fast response :)
Hi, thank you for creating
geodesic_matlab
!For some inputs,
geodesic_new_mesh
causes a segmentation fault. This issue occurs on line 32, where the library is called:To reproduce:
I've included
points.mat
,tri.mat
, and the crash report in new_mesh_crashes.zipAny suggestions would be much appreciated!