| 30 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 31 | |
| 32 | bool Foam::meshTools::visNormal |
| 33 | ( |
| 34 | const vector& n, |
| 35 | const vectorField& faceNormals, |
| 36 | const labelList& faceLabels |
| 37 | ) |
| 38 | { |
| 39 | forAll(faceLabels, i) |
| 40 | { |
| 41 | if ((faceNormals[faceLabels[i]] & n) < SMALL) |
| 42 | { |
| 43 | // Found normal in different direction from n. |
| 44 | return false; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | return true; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | Foam::vectorField Foam::meshTools::calcBoxPointNormals(const primitivePatch& pp) |
no test coverage detected