diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2017-09-21 21:10:07 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2017-09-21 21:10:07 +0200 |
| commit | 33175ead05bf03853ab8a33372602160cf69d745 (patch) | |
| tree | 2e5d35ccb6577bbeee13e0155eece9bba5f11db8 /src/proj.h | |
| parent | 9755994609973ee5325530052a241f85469da864 (diff) | |
| download | PROJ-33175ead05bf03853ab8a33372602160cf69d745.tar.gz PROJ-33175ead05bf03853ab8a33372602160cf69d745.zip | |
Use FACTORS and DERIVS structs from projects.h instead of duplicating them in proj.h
Diffstat (limited to 'src/proj.h')
| -rw-r--r-- | src/proj.h | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -182,11 +182,11 @@ typedef union PJ_TRIPLET PJ_TRIPLET; union PJ_COORD; typedef union PJ_COORD PJ_COORD; -struct PJ_DERIVS; -typedef struct PJ_DERIVS PJ_DERIVS; +struct DERIVS; +typedef struct DERIVS PJ_DERIVS; -struct PJ_FACTORS; -typedef struct PJ_FACTORS PJ_FACTORS; +struct FACTORS; +typedef struct FACTORS PJ_FACTORS; /* Data type for projection/transformation information */ struct PJconsts; @@ -288,22 +288,6 @@ struct PJ_OBS { unsigned int flags; /* additional data, intended for flags */ }; - -struct PJ_DERIVS { - double x_l, x_p; /* derivatives of x for lambda-phi */ - double y_l, y_p; /* derivatives of y for lambda-phi */ -}; - -struct PJ_FACTORS { - struct PJ_DERIVS der; - double h, k; /* meridional, parallel scales */ - double omega, thetap; /* angular distortion, theta prime */ - double conv; /* convergence */ - double s; /* areal scale factor */ - double a, b; /* max-min scale error */ - int code; /* info as to analytics, see following */ -}; - #define PJ_IS_ANAL_XL_YL 01 /* derivatives of lon analytic */ #define PJ_IS_ANAL_XP_YP 02 /* derivatives of lat analytic */ #define PJ_IS_ANAL_HK 04 /* h and k analytic */ |
