mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add 'flip()' in-place method to edge, face, triFace
This commit is contained in:
@ -315,7 +315,7 @@ void Foam::cuttingPlane::walkCellCuts
|
||||
// Orient face to point in the same direction as the plane normal
|
||||
if ((f.normal(cutPoints) & normal()) < 0)
|
||||
{
|
||||
f = f.reverseFace();
|
||||
f.flip();
|
||||
}
|
||||
|
||||
// the cut faces are usually quite ugly, so optionally triangulate
|
||||
|
||||
Reference in New Issue
Block a user