![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Topology construction and geometry precomputation for the 2D mesh. More...
Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
Functions | |
| void | openswmm::twoD::buildMeshTopology (MeshData &mesh) |
| Build mesh topology and precompute geometry from raw vertex/triangle data. | |
| bool | openswmm::twoD::buildMeshTopologyCancellable (MeshData &mesh, const std::function< bool(int)> &progress) |
| Cancellable equivalent; progress receives integer percent and returns true to cancel. | |
| std::string | openswmm::twoD::validateMesh (const MeshData &mesh) |
| Validate mesh data for consistency. | |
| std::string | openswmm::twoD::validateMeshCancellable (const MeshData &mesh, const std::function< bool(int)> &progress, bool &cancelled) |
Cancellable validator. cancelled is set when progress returns true. | |
| void | openswmm::twoD::recomputeVertexZDependents (MeshData &mesh, int vidx) |
| Recompute Z-derived per-triangle / per-edge geometry for triangles incident to a vertex whose Z just changed. | |
| void | openswmm::twoD::recomputeAllZDependents (MeshData &mesh) |
Whole-mesh form of recomputeVertexZDependents. | |
Topology construction and geometry precomputation for the 2D mesh.
After parsing [2D_VERTICES] and [2D_TRIANGLES], MeshBuilder computes: