![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <inpmeshreader.h>
Static Public Member Functions | |
| static InpMeshReadResult | read (const QString &inpPath) |
Look up the 2D mesh associated with inpPath. | |
|
static |
Look up the 2D mesh associated with inpPath.
Precedence matches the engine: when [2D_MESH_FILE] is present and the referenced file exists, the mesh is read from that file; otherwise the reader falls back to inline [2D_*] sections inside the .inp itself.
Missing mesh data is not an error — hasMesh stays false and errorMsg is empty so callers can treat the absence as "no 2D layer
to add". errorMsg is only populated when a malformed section or a broken external reference prevents parsing what was clearly intended to be a mesh.