![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Section handlers for spatial sections: [MAP], [VERTICES], [POLYGONS]. More...
#include <vector>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::input |
Functions | |
| void | openswmm::input::handle_map (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [MAP] — fills spatial.map_x1/y1/x2/y2 and map_units. | |
| void | openswmm::input::handle_vertices (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [VERTICES] — fills spatial.link_vertices_x/y. | |
| void | openswmm::input::handle_polygons (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [POLYGONS] — fills spatial.subcatch_polygon_x/y. | |
| void | openswmm::input::handle_symbols (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [SYMBOLS] — fills spatial.gage_x/y. | |
| void | openswmm::input::handle_tags (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [TAGS] — writes per-index tags onto ctx.nodes.tags / ctx.links.tags / ctx.subcatches.tags (resolves name → idx via the matching NameIndex; unresolved lines are skipped). | |
Section handlers for spatial sections: [MAP], [VERTICES], [POLYGONS].