aboutsummaryrefslogtreecommitdiff
path: root/src/projections/healpix.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-01 18:39:33 +0200
committerGitHub <noreply@github.com>2019-05-01 18:39:33 +0200
commite2b291c0c2a684313143eaf334fbf1161075b449 (patch)
treeae477566a19fae2cdd52485358639dec84e758ca /src/projections/healpix.cpp
parenta26fe9d131a23f261af47de8a05eeea49256cf1f (diff)
parent00980bf63fae6d350f425c44a648f33d7c09a931 (diff)
downloadPROJ-e2b291c0c2a684313143eaf334fbf1161075b449.tar.gz
PROJ-e2b291c0c2a684313143eaf334fbf1161075b449.zip
Merge pull request #1444 from rouault/disambguish_forward_inverse_names
Prefix inverse and forward functions by their projection names
Diffstat (limited to 'src/projections/healpix.cpp')
-rw-r--r--src/projections/healpix.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/projections/healpix.cpp b/src/projections/healpix.cpp
index e9924e04..515f4f6f 100644
--- a/src/projections/healpix.cpp
+++ b/src/projections/healpix.cpp
@@ -281,7 +281,7 @@ static PJ_XY healpix_sphere(PJ_LP lp) {
/**
* Return the inverse of healpix_sphere().
**/
-static PJ_LP healpix_sphere_inverse(PJ_XY xy) {
+static PJ_LP healpix_spherhealpix_e_inverse(PJ_XY xy) {
PJ_LP lp;
double x = xy.x;
double y = xy.y;
@@ -532,7 +532,7 @@ static PJ_LP s_healpix_inverse(PJ_XY xy, PJ *P) { /* sphere */
pj_ctx_set_errno(P->ctx, PJD_ERR_INVALID_X_OR_Y);
return lp;
}
- return healpix_sphere_inverse(xy);
+ return healpix_spherhealpix_e_inverse(xy);
}
@@ -546,7 +546,7 @@ static PJ_LP e_healpix_inverse(PJ_XY xy, PJ *P) { /* ellipsoid */
pj_ctx_set_errno(P->ctx, PJD_ERR_INVALID_X_OR_Y);
return lp;
}
- lp = healpix_sphere_inverse(xy);
+ lp = healpix_spherhealpix_e_inverse(xy);
lp.phi = auth_lat(P, lp.phi, 1);
return lp;
}
@@ -581,7 +581,7 @@ static PJ_LP s_rhealpix_inverse(PJ_XY xy, PJ *P) { /* sphere */
return lp;
}
xy = combine_caps(xy.x, xy.y, Q->north_square, Q->south_square, 1);
- return healpix_sphere_inverse(xy);
+ return healpix_spherhealpix_e_inverse(xy);
}
@@ -597,7 +597,7 @@ static PJ_LP e_rhealpix_inverse(PJ_XY xy, PJ *P) { /* ellipsoid */
return lp;
}
xy = combine_caps(xy.x, xy.y, Q->north_square, Q->south_square, 1);
- lp = healpix_sphere_inverse(xy);
+ lp = healpix_spherhealpix_e_inverse(xy);
lp.phi = auth_lat(P, lp.phi, 1);
return lp;
}