SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
mesh::InpMeshReader Class Reference

#include <inpmeshreader.h>

Collaboration diagram for mesh::InpMeshReader:

Static Public Member Functions

static InpMeshReadResult read (const QString &inpPath)
 Look up the 2D mesh associated with inpPath.
 

Member Function Documentation

◆ read()

InpMeshReadResult mesh::InpMeshReader::read ( const QString &  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.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: