![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Street cross-section geometry and hydraulic properties. More...
Go to the source code of this file.
Functions | |
| int | street_create (int nStreets) |
| Allocate zero-initialized street cross-section definitions. | |
| void | street_delete () |
| Deletes the collection of Street objects. | |
| int | street_readParams (char *tok[], int ntoks) |
| Parse a street cross section and construct its hydraulic transect tables. | |
| double | street_getExtentFilled (int link) |
| Inspect the high-end depth or area of a street conduit. | |
Street cross-section geometry and hydraulic properties.
| int street_create | ( | int | nStreets | ) |
Allocate zero-initialized street cross-section definitions.
| [in] | nStreets | Nonnegative requested street count. |
| void street_delete | ( | ) |
Deletes the collection of Street objects.
| double street_getExtentFilled | ( | int | link | ) |
Inspect the high-end depth or area of a street conduit.
| [in] | link | Valid street conduit link index. |
| int street_readParams | ( | char * | tok[], |
| int | ntoks ) |
Parse a street cross section and construct its hydraulic transect tables.
| [in] | tok | Borrowed ntoks non-null token strings: ID, crown width, curb height, cross slope, road n, then optional gutter/backing parameters. Lengths are authored ft/m and slopes are percentages. |
| [in] | ntoks | Number of tokens; at least five required, with complete backing slope/roughness data required when backing width is positive. |