| 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 |
no test coverage detected