diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-06 22:21:55 +0200 |
|---|---|---|
| committer | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-06 22:21:55 +0200 |
| commit | efa741bafb0f40d4d7b7f9138292f15965ed5d75 (patch) | |
| tree | 5e4c63127847b2d6bf6d94fb5a8512887a5a4ebf /src/proj.h | |
| parent | 03123018ea7090b992430ce8dd4fa6980f04d0d3 (diff) | |
| download | PROJ-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
