aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:21:55 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:21:55 +0200
commitefa741bafb0f40d4d7b7f9138292f15965ed5d75 (patch)
tree5e4c63127847b2d6bf6d94fb5a8512887a5a4ebf /src/proj.h
parent03123018ea7090b992430ce8dd4fa6980f04d0d3 (diff)
downloadPROJ-efa741bafb0f40d4d7b7f9138292f15965ed5d75.tar.gz
PROJ-efa741bafb0f40d4d7b7f9138292f15965ed5d75.zip
Switch proj_roundtrip to accept PJ_COORD, rather than PJ_OBS, and make it do proper geodesic distances for forward roundtrips
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proj.h b/src/proj.h
index 600d5b30..167fb1eb 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -382,8 +382,8 @@ PJ_COORD proj_coord (double x, double y, double z, double t);
PJ_OBS proj_obs (double x, double y, double z, double t, double o, double p, double k, int id, unsigned int flags);
/* Measure internal consistency - in forward or inverse direction */
-double proj_roundtrip (PJ *P, PJ_DIRECTION direction, int n, PJ_OBS obs);
-
+double proj_roundtrip (PJ *P, PJ_DIRECTION direction, int n, PJ_COORD coo);
+
/* Geodesic distance between two points with angular 2D coordinates */
double proj_lp_dist (const PJ *P, LP a, LP b);