MISR Toolkit  1.5.1
Functions
MtkSetRegionByPathSomUlcLrc.c File Reference
#include "MisrSetRegion.h"
#include "MisrCoordQuery.h"
#include "MisrError.h"
#include "MisrUtil.h"
#include "MisrOrbitPath.h"

Go to the source code of this file.

Functions

MTKt_status MtkSetRegionByPathSomUlcLrc (int path, double ulc_som_x, double ulc_som_y, double lrc_som_x, double lrc_som_y, MTKt_Region *region)
 Select region by Path and SOM X/Y of upper left corner and lower right corner in meters. More...
 

Function Documentation

◆ MtkSetRegionByPathSomUlcLrc()

MTKt_status MtkSetRegionByPathSomUlcLrc ( int  path,
double  ulc_som_x,
double  ulc_som_y,
double  lrc_som_x,
double  lrc_som_y,
MTKt_Region region 
)

Select region by Path and SOM X/Y of upper left corner and lower right corner in meters.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we select the region with upper left SOM X 15600000.0 meters, SOM Y -300.0 meters and lower right SOM X 16800000.0 meters, SOM Y 2000.0 meters for path 27.
MTKt_region region = MTKT_REGION_INIT;
status = MtkSetRegionByPathSomUlcLrc(27, 15600000.0, -300.0, 16800000.0, 2000.0, &region);
Parameters
[in]pathPath
[in]ulc_som_xUpper left corner SOM X
[in]ulc_som_yUpper left corner SOM Y
[in]lrc_som_xLower right corner SOM X
[in]lrc_som_yLower right corner SOM Y
[out]regionRegion

Definition at line 37 of file MtkSetRegionByPathSomUlcLrc.c.


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