mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
correctly check for degenerated edges
This commit is contained in:
parent
a2d9455627
commit
3974191ffa
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user