aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-06 10:02:05 +0100
committerKristian Evers <kristianevers@gmail.com>2017-11-06 10:02:05 +0100
commit8eb82852f5f7d23994839ba5d032edc76eab2250 (patch)
treebf821a8723776d36f5c4287ea362bb35e8a26675 /src/projects.h
parent1739a927f576ab4dd9e03653bf5e9cf8c0c0ac18 (diff)
downloadPROJ-8eb82852f5f7d23994839ba5d032edc76eab2250.tar.gz
PROJ-8eb82852f5f7d23994839ba5d032edc76eab2250.zip
Eliminate the last traces of PJ_OBS (#643)
PJ_OBS eliminated, API adjusted to reflect that we now have only one 4D data type. 2 new API functions added to determine output types of a PJ.
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/projects.h b/src/projects.h
index 0631924c..fad5c7bc 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -173,10 +173,7 @@ typedef struct { double u, v, w; } UVW;
/* Forward declarations and typedefs for stuff needed inside the PJ object */
struct PJconsts;
-struct PJ_OBS;
-#ifndef PROJ_INTERNAL_H
-typedef struct PJ_OBS PJ_OBS;
-#endif
+
union PJ_COORD;
struct geod_geodesic;
struct pj_opaque;
@@ -212,6 +209,7 @@ struct PJ_AREA {
struct projCtx_t;
typedef struct projCtx_t projCtx_t;
+
/* base projection data structure */
struct PJconsts {
@@ -254,10 +252,9 @@ struct PJconsts {
LP (*inv)(XY, PJ *);
XYZ (*fwd3d)(LPZ, PJ *);
LPZ (*inv3d)(XYZ, PJ *);
- PJ_OBS (*fwdobs)(PJ_OBS, PJ *);
- PJ_OBS (*invobs)(PJ_OBS, PJ *);
- PJ_COORD (*fwdcoord)(PJ_COORD, PJ *);
- PJ_COORD (*invcoord)(PJ_COORD, PJ *);
+ PJ_COORD (*fwd4d)(PJ_COORD, PJ *);
+ PJ_COORD (*inv4d)(PJ_COORD, PJ *);
+
void (*spc)(LP, PJ *, struct FACTORS *);