diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2017-09-13 13:05:04 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2017-09-13 13:05:04 +0200 |
| commit | e2faff822f2161d1a45b515d71edde54a19c48cb (patch) | |
| tree | 60428fcc3745dccea17f74f76790d463fe93f05d /src/proj.h | |
| parent | fe86f34556dfc4613347c41bb14e8ac025282627 (diff) | |
| download | PROJ-e2faff822f2161d1a45b515d71edde54a19c48cb.tar.gz PROJ-e2faff822f2161d1a45b515d71edde54a19c48cb.zip | |
make PJ* P argument of proj_lp_dist const
Diffstat (limited to 'src/proj.h')
| -rw-r--r-- | src/proj.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |
