Function
meshCentre
Calculate some average position for mesh.
Source from the content-addressed store, hash-verified
| 85 | |
| 86 | // Calculate some average position for mesh. |
| 87 | point meshCentre(const polyMesh& mesh) |
| 88 | { |
| 89 | return average(mesh.points()); |
| 90 | } |
| 91 | |
| 92 | |
| 93 | // Main program: |
Tested by
no test coverage detected