20class OGRCoordinateTransformation;
22#include <openswmm/engine/openswmm_engine.h>
50 Stats *stats =
nullptr,
51 QString *errorOut =
nullptr);
81 double *
xs,
double *
ys,
int n);
Represents a coordinate reference system backed by a GDAL OGRSpatialReference.
Definition spatialreferencesystem.h:28
const double * xs
Definition mesh2dresultsexport.cpp:424
const double * ys
Definition mesh2dresultsexport.cpp:425
std::size_t n
Definition mesh2dresultsexport.cpp:426
Definition crsreproject.h:25
void transformPointsInPlace(OGRCoordinateTransformation *ct, double *xs, double *ys, int n)
Transform n interleaved scene points in place, in chunks.
Definition crsreproject.cpp:139
constexpr int kTransformChunk
Number of points pushed through OGR per batched call.
Definition crsreproject.h:58
bool 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.
Definition crsreproject.cpp:46
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
Definition crsreproject.h:26
int polygonVerts
Definition crsreproject.h:29
int nodes
Definition crsreproject.h:27
int linkVertices
Definition crsreproject.h:28