diff options
| -rw-r--r-- | src/pj_obs_api.c | 2 | ||||
| -rw-r--r-- | src/proj.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pj_obs_api.c b/src/pj_obs_api.c index 90269764..6f9644b1 100644 --- a/src/pj_obs_api.c +++ b/src/pj_obs_api.c @@ -70,7 +70,7 @@ PJ_OBS proj_obs (double x, double y, double z, double t, double o, double p, dou /* Geodesic distance between two points with angular 2D coordinates */ -double proj_lp_dist (PJ *P, LP a, LP b) { +double proj_lp_dist (const PJ *P, LP a, LP b) { double s12, azi1, azi2; /* Note: the geodesic code takes arguments in degrees */ geod_inverse (P->geod, PJ_TODEG(a.phi), PJ_TODEG(a.lam), PJ_TODEG(b.phi), PJ_TODEG(b.lam), &s12, &azi1, &azi2); @@ -398,7 +398,7 @@ PJ_OBS proj_obs (double x, double y, double z, double t, double o, double p, double proj_roundtrip (PJ *P, PJ_DIRECTION direction, int n, PJ_OBS obs); /* Geodesic distance between two points with angular 2D coordinates */ -double proj_lp_dist (PJ *P, LP a, LP b); +double proj_lp_dist (const PJ *P, LP a, LP b); /* Euclidean distance between two points with linear 2D coordinates */ double proj_xy_dist (XY a, XY b); @@ -415,8 +415,8 @@ void proj_errno_restore (PJ *P, int err); PJ_DERIVS proj_derivatives(const PJ *P, const LP lp); -PJ_FACTORS proj_factors(const PJ *P, const LP lp); - +PJ_FACTORS proj_factors(const PJ *P, const LP lp); + /* Info functions - get information about various PROJ.4 entities */ PJ_INFO proj_info(void); PJ_PROJ_INFO proj_pj_info(const PJ *P); |
