diff options
Diffstat (limited to 'src/proj_api.h')
| -rw-r--r-- | src/proj_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/proj_api.h b/src/proj_api.h index 9e1e49a8..e381815c 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -54,15 +54,20 @@ extern int pj_errno; /* global error return code */ #if !defined(PROJECTS_H) typedef struct { double u, v; } projUV; + typedef struct { double u, v, w; } projUVW; typedef void *projPJ; #define projXY projUV #define projLP projUV + #define projXYZ projUVW + #define projLPZ projUVW typedef void *projCtx; #else typedef PJ *projPJ; typedef projCtx_t *projCtx; # define projXY XY # define projLP LP +# define projXYZ XYZ +# define projLPZ LPZ #endif /* file reading api, like stdio */ @@ -80,6 +85,9 @@ typedef struct projFileAPI_t { projXY pj_fwd(projLP, projPJ); projLP pj_inv(projXY, projPJ); +projXYZ pj_fwd3d(projLPZ, projPJ); +projLPZ pj_inv3d(projXYZ, projPJ); + int pj_transform( projPJ src, projPJ dst, long point_count, int point_offset, double *x, double *y, double *z ); int pj_datum_transform( projPJ src, projPJ dst, long point_count, int point_offset, |
