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