OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches

Spatial frame — CRS specification and coordinate data for nodes/links. More...

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

Go to the source code of this file.

Classes

class  openswmm::ICouplingPoint
 Abstract coupling point between a 1D SWMM object and a 2D mesh cell. More...
 
struct  openswmm::SpatialFrame
 Spatial frame containing CRS and georeferenced coordinates. More...
 

Namespaces

namespace  openswmm
 

Detailed Description

Spatial frame — CRS specification and coordinate data for nodes/links.

The spatial frame encapsulates the coordinate reference system (CRS) and georeferenced coordinates of nodes, link centroids, and subcatchment centroids. This is a new addition in version 6.0.0 that prepares the engine for 2D coupling.

2D Coupling Readiness (R30)

The SpatialFrame is designed to serve as the interface point for future 2D component coupling. A 2D SWMM component will register ICouplingPoint objects that map 1D nodes/links to cells in the 2D mesh.

See also
src/engine/core/SimulationOptions.hpp — CRS stored here too
Legacy reference: src/solver/objects.h — TNode.x, TNode.y coordinates
docs/MASTER_IMPLEMENTATION_PLAN.md AD-9 (CRS), R30 (2D coupling)
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License