aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-12 14:27:26 +0100
committerGitHub <noreply@github.com>2017-11-12 14:27:26 +0100
commit1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a (patch)
treef646ba412b086f8488c21d519cf832c01dd49d42 /src/proj.h
parent667d59e50fc594cfa08c8d7949372c961fdca940 (diff)
downloadPROJ-1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a.tar.gz
PROJ-1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a.zip
Poder autochecking again (WIP) (#652)
* Poder dual autochecking implementation * Debugging aid: Improvements in PJ_vgridshift.c and gie.c * Most likely, the bugbeing tripped is in the gridshift code, so. uncomment suspicious lines in deformation.gie and merge this to support the debugging effort
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/proj.h b/src/proj.h
index bc0e1e06..19bb2192 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -393,11 +393,14 @@ int proj_trans_array (PJ *P, PJ_DIRECTION direction, size_t n, PJ_COORD *coord);
PJ_COORD proj_coord (double x, double y, double z, double t);
/* Measure internal consistency - in forward or inverse direction */
-double proj_roundtrip (PJ *P, PJ_DIRECTION direction, int n, PJ_COORD coo);
+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);
+/* The geodesic distance AND the vertical offset */
+double proj_lpz_dist (const PJ *P, LPZ a, LPZ b);
+
/* Euclidean distance between two points with linear 2D coordinates */
double proj_xy_dist (XY a, XY b);