correctly check for degenerated edges

This commit is contained in:
Christopher Lackner 2024-06-27 21:00:52 +02:00
parent a2d9455627
commit 3974191ffa

View File

@ -616,7 +616,7 @@ namespace netgen
endp = vert2meshpt[edge->GetEndVertex().nr];
// ignore collapsed edges
if(startp == endp && edge->GetLength() < 1e-10 * bounding_box.Diam())
if(edge->IsDegenerated())
continue;
// ----------- Add Points to mesh and create segments -----