![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Inspection and editing of surface water ownership assignments. More...
#include "assignment/surfaceownership.h"#include "layers/swmm2dmeshlayer.h"#include <openswmm/engine/openswmm_2d.h>#include <cmath>#include <limits>Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::assignment |
Functions | |
| bool | openswmmvis::assignment::readSurfaceOwners (SWMM_Engine engine, QVector< int > *rows, QString *error) |
| Read authored surface-owner records while the engine permits editing. | |
| SurfaceOwnershipReview | openswmmvis::assignment::previewSurfaceOwners (SWMM_Engine engine, const QVector< int > &rows, const std::function< bool(int, int)> &progress={}) |
| Ask the engine to validate proposed ownership and compute object-area shares. | |
| bool | openswmmvis::assignment::replaceSurfaceOwners (SWMM_Engine engine, const QVector< int > &rows, const QString &token, QString *error) |
| Replace ownership records using the engine-issued preview token. | |
| bool | openswmmvis::assignment::surfaceOwnershipMeshMatches (SWMM_Engine engine, const SWMM2DMeshLayer *layer, QString *error) |
| Check that the GUI mesh and engine mesh describe the same cells before ownership review. | |
Inspection and editing of surface water ownership assignments.