LLNL / MemSurfer

MemSurfer is a software tool to compute bilayer membrane surfaces.
GNU General Public License v3.0
24 stars 9 forks source link

Delaunay returning disconnected vertices #18

Closed bhatiaharsh closed 2 years ago

bhatiaharsh commented 2 years ago

After CGAL's delaunay meshing, it appears that some vertices are disconnected. The incidence degree should be two for a properly connected vertex.

added warning in the code until this is resolved

   > TriMeshPeriodic::periodicDelaunay()... Done! created 5711 triangles (out of 50490 periodic ones)!
> Warning: found a vertex with low incidence: vertex[46] = (16.0459, 3.87606, 0), incidence = (0, raw = 0)

and

2022-04-18 21:49:23,796 [WARNING] memsurfer.trimesh:compute_delaunay - Found vertices with small incidence: [ 46 767] = [0 1]
[[16.045897  3.876062]
 [29.536968 37.83923 ]]
bhatiaharsh commented 2 years ago

commit 3ae1fe3952654d2a584365218ed54fa19861e28f should fix this