21 #include "gctp_prototypes.h" 49 int (*inv_trans[
MAXPROJ+1])(double, double,
double*,
double*);
51 if (lat_dd == NULL || lon_dd == NULL)
58 NULL, NULL, &iflg, inv_trans);
62 iflg =
sominv(som_x, som_y, &lon_r, &lat_r);
MISR Projection Parameters.
#define MTK_ERR_CODE_JUMP(code)
int sominv(double y, double x, double *lon, double *lat)
MTKt_status MtkPathToProjParam(int path, int resolution_meters, MTKt_MisrProjParam *pp)
Get projection parameters.
MTKt_status MtkSomXYToLatLon(int path, double som_x, double som_y, double *lat_dd, double *lon_dd)
Convert SOM X, SOM Y to decimal degrees latitude and longitude.
#define MTK_ERR_COND_JUMP(code)
MTKt_status MtkRadToDd(double rad, double *dd)
Convert radians to decimal degrees.
int inv_init(int insys, int inzone, const double *inparm, int indatum, char *fn27, char *fn83, int *iflg, int(*inv_trans[])(double, double, double *, double *))