From efa741bafb0f40d4d7b7f9138292f15965ed5d75 Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Fri, 6 Oct 2017 22:21:55 +0200 Subject: Switch proj_roundtrip to accept PJ_COORD, rather than PJ_OBS, and make it do proper geodesic distances for forward roundtrips --- src/proj.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/proj.h') 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); -- cgit v1.2.3