MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / triFaceList

Function triFaceList

src/triSurface/faceTriangulation/faceTriangulation.C:613–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611 const pointField& points,
612 const face& f,
613 const bool fallBack
614)
615:
616 triFaceList(f.size()-2)
617{
618 vector avgNormal = f.normal(points);
619 avgNormal /= mag(avgNormal) + VSMALL;
620
621 label triI = 0;
622
623 bool valid = split(fallBack, points, f, avgNormal, triI);
624
625 if (!valid)
626 {
627 setSize(0);
628 }
629}
630
631
632// Construct from components

Callers 1

Calls 3

splitFunction · 0.85
magClass · 0.50
normalMethod · 0.45

Tested by

no test coverage detected