MISR Toolkit  1.5.1
Functions
MtkSomXYToLSAry.c File Reference
#include "MisrMapQuery.h"
#include "MisrError.h"

Go to the source code of this file.

Functions

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. More...
 

Function Documentation

◆ MtkSomXYToLSAry()

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.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert an array of SOM X and SOM Y values to line and sample.
double som_x[2] = {10529200.016621, 10811900.026208};
double som_y[2] = {622600.018066, 623700.037609};
float line[2];
float sample[2];
status = MtkSomXYToBlsAry(mapinfo, 2, som_x, som_y, line, sample);
Parameters
[in]mapinfoMap Info
[in]nelementNumber of elements
[in]som_xSOM X
[in]som_ySOM Y
[out]lineLine
[out]sampleSample

Definition at line 37 of file MtkSomXYToLSAry.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53