SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
crsreproject.cpp File Reference
#include "core/crsreproject.h"
#include "map/spatialreferencesystem.h"
#include <QByteArray>
#include <QDebug>
#include <algorithm>
#include <memory>
#include <vector>
#include <openswmm/engine/openswmm_links.h>
#include <openswmm/engine/openswmm_nodes.h>
#include <openswmm/engine/openswmm_spatial.h>
#include <openswmm/engine/openswmm_subcatchments.h>
#include <ogr_spatialref.h>
Include dependency graph for crsreproject.cpp:

Namespaces

namespace  CRSReproject
 

Functions

bool CRSReproject::reprojectModel (SWMM_Engine engine, const SpatialReferenceSystem &oldSRS, const SpatialReferenceSystem &newSRS, Stats *stats=nullptr, QString *errorOut=nullptr)
 Transform every coordinate in the model from oldSRS to newSRS.
 
void CRSReproject::transformPointsInPlace (OGRCoordinateTransformation *ct, double *xs, double *ys, int n)
 Transform n interleaved scene points in place, in chunks.
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later