ENH: add 'flip()' in-place method to edge, face, triFace

This commit is contained in:
Mark Olesen
2010-12-07 08:58:31 +01:00
parent e72d32028c
commit f367ee2ece
23 changed files with 74 additions and 22 deletions

View File

@ -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