Boundarylayers - disable curving on edges with moved points

This commit is contained in:
Matthias Hochsteger 2025-02-12 09:59:07 +01:00
parent 44fe189bf0
commit 913ede1cae

View File

@ -944,7 +944,14 @@ void BoundaryLayerTool ::InsertNewElements(
// cout << "moved setg " << seg << endl;
for (auto& p : seg.PNums())
if (hasMoved(p))
p = newPoint(p);
{
p = newPoint(p);
if (params.disable_curving)
{
seg.epgeominfo[0].edgenr = -1;
seg.epgeominfo[1].edgenr = -1;
}
}
}
}