OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SpatialHandler.hpp File Reference

Section handlers for spatial sections: [MAP], [VERTICES], [POLYGONS]. More...

#include <vector>
#include <string>
Include dependency graph for SpatialHandler.hpp:
This graph shows which files directly or indirectly include this file:

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)
 Update map extents and map-unit metadata from recognized rows.
 
void openswmm::input::handle_vertices (SimulationContext &ctx, const std::vector< std::string > &lines)
 Rebuild each link's ordered intermediate-vertex lists.
 
void openswmm::input::handle_polygons (SimulationContext &ctx, const std::vector< std::string > &lines)
 Rebuild each subcatchment's ordered polygon coordinate lists.
 
void openswmm::input::handle_symbols (SimulationContext &ctx, const std::vector< std::string > &lines)
 Update rain-gage symbol coordinates from known-name rows.
 
void openswmm::input::handle_tags (SimulationContext &ctx, const std::vector< std::string > &lines)
 Assign per-object tags for known NODE, LINK and SUBCATCH rows.
 

Detailed Description

Section handlers for spatial sections: [MAP], [VERTICES], [POLYGONS].

See also
SpatialHandler.cpp
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0