mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
bugfix in occ close surface identification
This commit is contained in:
parent
92fb557314
commit
7712429cc2
@ -641,7 +641,7 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reverse entries if we have decreasing parameters
|
// reverse entries if we have decreasing parameters
|
||||||
if(edge_params.Size()>2 && edge_params[0] > edge_params.Last())
|
if(edge_params.Size()>=2 && edge_params[0] > edge_params.Last())
|
||||||
for(auto i : Range((np-2)/2))
|
for(auto i : Range((np-2)/2))
|
||||||
{
|
{
|
||||||
swap(edge_points[i], edge_points[np-3-i]);
|
swap(edge_points[i], edge_points[np-3-i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user