![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <xsectshapegeom.h>
Public Attributes | |
| const char * | name |
| "CIRCULAR", "RECT_CLOSED", … | |
| int | engineId |
| SWMM_XSECT_* numeric. | |
| const char * | geom1Label |
| "Diameter", "Max Depth", … ("" if unused). | |
| const char * | geom2Label |
| const char * | geom3Label |
| const char * | geom4Label |
One SWMM_XSectShape row.
engineId MUST be spelled as the engine's own SWMM_XSECT_* constant, never as a bare integer: this table is fed straight to swmm_link_set_xsect(), so a literal that drifts from the engine's numbering silently writes the WRONG cross-section into the model. (Before 6.0 exactly that happened — the table carried the pre-renumbering literals, so picking e.g. EGGSHAPED stored a baskethandle and IRREGULAR stored a vertical ellipse.)
Row order is the legacy SWMM-GUI (Dxsect.pas) presentation order, which the shape picker shows verbatim; it is deliberately NOT the engine's numeric order. A geomNLabel is the empty string when that geom is unused.
| int openswmmvis::XsectShapeRow::engineId |
SWMM_XSECT_* numeric.
| const char* openswmmvis::XsectShapeRow::geom1Label |
"Diameter", "Max Depth", … ("" if unused).
| const char* openswmmvis::XsectShapeRow::geom2Label |
| const char* openswmmvis::XsectShapeRow::geom3Label |
| const char* openswmmvis::XsectShapeRow::geom4Label |
| const char* openswmmvis::XsectShapeRow::name |
"CIRCULAR", "RECT_CLOSED", …