21#ifndef OPENSWMMVIS_STREET_STREETPROVIDER_H
22#define OPENSWMMVIS_STREET_STREETPROVIDER_H
39 QString
name() const noexcept {
return m_name; }
43 double crownWidth() const noexcept {
return m_crownWidth; }
44 double curbHeight() const noexcept {
return m_curbHeight; }
45 double crossSlope() const noexcept {
return m_crossSlope; }
49 int sides() const noexcept {
return m_sides; }
77 double m_crownWidth = 30.0;
78 double m_curbHeight = 0.5;
79 double m_crossSlope = 2.0;
80 double m_roadRoughness = 0.016;
81 double m_gutterDepression = 0.0;
82 double m_gutterWidth = 0.0;
84 double m_backingWidth = 0.0;
85 double m_backingSlope = 0.0;
86 double m_backingRoughness = 0.0;
Definition streetprovider.h:30
~StreetProvider() override
void nameChanged(QString prev, QString now)
void setBackingRoughness(double v)
Definition streetprovider.cpp:91
int sides() const noexcept
1 or 2
Definition streetprovider.h:49
double crownWidth() const noexcept
Tcrown.
Definition streetprovider.h:43
void setGutterWidth(double v)
Definition streetprovider.cpp:63
double backingWidth() const noexcept
Tback.
Definition streetprovider.h:50
double backingSlope() const noexcept
Sback (%)
Definition streetprovider.h:51
QString name() const noexcept
Definition streetprovider.h:39
void setGutterDepression(double v)
Definition streetprovider.cpp:56
double gutterWidth() const noexcept
W.
Definition streetprovider.h:48
double gutterDepression() const noexcept
a
Definition streetprovider.h:47
void paramsChanged()
Any geometry field changed (list label / preview repaint).
double backingRoughness() const noexcept
nBack
Definition streetprovider.h:52
void setBackingWidth(double v)
Definition streetprovider.cpp:77
double roadRoughness() const noexcept
nRoad
Definition streetprovider.h:46
void setName(QString newName)
Definition streetprovider.cpp:20
double curbHeight() const noexcept
Hcurb.
Definition streetprovider.h:44
void setRoadRoughness(double v)
Definition streetprovider.cpp:49
double crossSlope() const noexcept
Sx (%)
Definition streetprovider.h:45
void setSides(int v)
Definition streetprovider.cpp:70
void setCurbHeight(double v)
Definition streetprovider.cpp:35
void setCrownWidth(double v)
Definition streetprovider.cpp:28
void setBackingSlope(double v)
Definition streetprovider.cpp:84
void setCrossSlope(double v)
Definition streetprovider.cpp:42
Definition streetprovider.h:27
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159
QVector< int > parent
union-find
Definition pslgminsize.cpp:176