mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +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];
|
endp = vert2meshpt[edge->GetEndVertex().nr];
|
||||||
|
|
||||||
// ignore collapsed edges
|
// ignore collapsed edges
|
||||||
if(startp == endp && edge->GetLength() < 1e-10 * bounding_box.Diam())
|
if(edge->IsDegenerated())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// ----------- Add Points to mesh and create segments -----
|
// ----------- Add Points to mesh and create segments -----
|
||||||
auto & pnums = all_pnums[edgenr];
|
auto & pnums = all_pnums[edgenr];
|
||||||
|
Loading…
Reference in New Issue
Block a user