------------ MeshExists ------------
| 79 | //------------ |
| 80 | // |
| 81 | static bool |
| 82 | MeshExists(PyUtilApiFunction& api, cvMeshObject* mesher) |
| 83 | { |
| 84 | if (!mesher->HasVolumeMesh()) { |
| 85 | api.error("No volume mesh has been generated."); |
| 86 | return nullptr; |
| 87 | } |
| 88 | |
| 89 | return true; |
| 90 | } |
| 91 | |
| 92 | }; // namespace MeshingMesher |
| 93 |
no test coverage detected