21 #include "gctp_prototypes.h" 57 int (*for_trans[
MAXPROJ+1])(double, double,
double *,
double *);
59 if (lat_dd == NULL || lon_dd == NULL || som_x == NULL || som_y == NULL)
69 NULL, NULL, &iflg, for_trans);
73 for (i = 0; i < nelement; i++) {
80 iflg =
somfor(lon_r, lat_r, &som_x[i], &som_y[i]);
MISR Projection Parameters.
#define MTK_ERR_CODE_JUMP(code)
MTKt_status MtkPathToProjParam(int path, int resolution_meters, MTKt_MisrProjParam *pp)
Get projection parameters.
MTKt_status MtkDdToRad(double dd, double *rad)
Convert decimal degrees to radians.
int for_init(int outsys, int outzone, const double *outparm, int outdatum, char *fn27, char *fn83, int *iflg, int(*for_trans[])(double, double, double *, double *))
MTKt_status MtkLatLonToSomXYAry(int path, int nelement, const double *lat_dd, const double *lon_dd, double *som_x, double *som_y)
Convert array of decimal degrees latitude and longitude to array of SOM X, SOM Y. ...
#define MTK_ERR_COND_JUMP(code)
int somfor(double lon, double lat, double *y, double *x)