aboutsummaryrefslogtreecommitdiff
path: root/src/projections/rouss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/rouss.cpp')
-rw-r--r--src/projections/rouss.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/projections/rouss.cpp b/src/projections/rouss.cpp
index 3b4428bc..f58277b8 100644
--- a/src/projections/rouss.cpp
+++ b/src/projections/rouss.cpp
@@ -29,7 +29,7 @@
#include <math.h>
#include "proj.h"
-#include "projects.h"
+#include "proj_internal.h"
namespace { // anonymous namespace
struct pj_opaque {
@@ -44,8 +44,8 @@ struct pj_opaque {
PROJ_HEAD(rouss, "Roussilhe Stereographic") "\n\tAzi, Ell";
-static XY e_forward (LP lp, PJ *P) { /* Ellipsoidal, forward */
- XY xy = {0.0,0.0};
+static PJ_XY e_forward (PJ_LP lp, PJ *P) { /* Ellipsoidal, forward */
+ PJ_XY xy = {0.0,0.0};
struct pj_opaque *Q = static_cast<struct pj_opaque*>(P->opaque);
double s, al, cp, sp, al2, s2;
@@ -65,8 +65,8 @@ static XY e_forward (LP lp, PJ *P) { /* Ellipsoidal, forward */
}
-static LP e_inverse (XY xy, PJ *P) { /* Ellipsoidal, inverse */
- LP lp = {0.0,0.0};
+static PJ_LP e_inverse (PJ_XY xy, PJ *P) { /* Ellipsoidal, inverse */
+ PJ_LP lp = {0.0,0.0};
struct pj_opaque *Q = static_cast<struct pj_opaque*>(P->opaque);
double s, al, x = xy.x / P->k0, y = xy.y / P->k0, x2, y2;;