MISR Toolkit  1.5.1
Functions
MtkSetRegionByUlcLrc.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 MtkSetRegionByUlcLrc (double ulc_lat_dd, double ulc_lon_dd, double lrc_lat_dd, double lrc_lon_dd, MTKt_Region *region)
 Select region by latitude and longitude of upper left corner and lower right corner in decimal degrees. More...
 

Function Documentation

◆ MtkSetRegionByUlcLrc()

MTKt_status MtkSetRegionByUlcLrc ( double  ulc_lat_dd,
double  ulc_lon_dd,
double  lrc_lat_dd,
double  lrc_lon_dd,
MTKt_Region region 
)

Select region by latitude and longitude of upper left corner and lower right corner in decimal degrees.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we select the region with upper left latitude 40.0, longitude -120.0 and lower right latitude 30.0, longitude -110.0.
MTKt_region region = MTKT_REGION_INIT;
status = MtkSetRegionByUlcLrc(40.0, -120.0, 30.0, -110.0, &region);
Parameters
[in]ulc_lat_ddUpper left corner latitude
[in]ulc_lon_ddUpper left corner longitude
[in]lrc_lat_ddLower right corner latitude
[in]lrc_lon_ddLower right corner longitude
[out]regionRegion

Definition at line 37 of file MtkSetRegionByUlcLrc.c.


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