49 if (som_x == NULL || som_y == NULL || line == NULL || sample == NULL)
63 for (i = 0; i < nelement; i++) {
64 status =
MtkSomXYToLS(mapinfo, som_x[i], som_y[i], &line[i], &sample[i]);
65 if (status) status_code = status;
#define MTK_ERR_CODE_JUMP(code)
MTKt_status MtkSomXYToLSAry(MTKt_MapInfo mapinfo, int nelement, const double *som_x, const double *som_y, float *line, float *sample)
Convert array of SOM X, SOM Y to array of line, sample.
MTKt_status MtkSomXYToLS(MTKt_MapInfo mapinfo, double som_x, double som_y, float *line, float *sample)
Convert SOM X, SOM Y to line, sample.