Commit d309afee authored by Jonathan Lambrechts's avatar Jonathan Lambrechts

pj_transform with 3 variables

parent e2e60368
Pipeline #2084 passed with stage
in 37 minutes and 47 seconds
......@@ -12,6 +12,10 @@
#include "proj_api.h"
#include "fullMatrix.h"
#include "dgFullMatrix.h"
double pj_transform( projPJ src, projPJ dst, double &x, double &y, double &z) {
pj_transform(src, dst, 1, 1, &x, &y, &z);
return x;
}
double pj_transform( projPJ src, projPJ dst, double &x, double &y) {
pj_transform(src, dst, 1, 1, &x, &y, NULL);
return x;
......@@ -34,4 +38,6 @@ int pj_is_latlong(projPJ);
fullMatrix<double> pjTransform(projPJ src, projPJ dst, const fullMatrix<double> &coord);
%apply double *INOUT {double &x, double &y};
void pj_transform(projPJ src, projPJ dst, double &x, double &y);
%apply double *INOUT {double &x, double &y, double &z};
void pj_transform(projPJ src, projPJ dst, double &x, double &y, double &z);
void pjTransformInPlace(projPJ src, projPJ dst,fullMatrix<double> &coord);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment