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
meshcellparams.cpp File Reference
#include "mesh/meshcellparams.h"
#include <QCoreApplication>
#include <cmath>
#include <limits>
Include dependency graph for meshcellparams.cpp:

Namespaces

namespace  mesh
 

Functions

const QVector< CellParamSpec > & mesh::cellParamSpecs ()
 The registry, in display order. Stable for the process lifetime.
 
const CellParamSpecmesh::cellParamSpec (const QByteArray &key)
 Look up one spec by key; returns nullptr when unknown.
 
QString mesh::cellParamLabel (const QByteArray &key, const QString &depthUnitLabel)
 Full label for key including the unit suffix when the parameter is a length. depthUnitLabel comes from UnitSystem::depthLabel().
 
double mesh::cellParamValue (const MeshResult &mesh, int tri, const QByteArray &key)
 Current value of key on triangle tri.
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Variable Documentation

◆ decimals

int decimals

◆ defaultValue

double defaultValue

◆ key

const char* key

◆ label

const char* label

◆ max

double max

◆ min

double min

◆ step

double step

◆ tooltip

const char* tooltip