MISR Toolkit  1.5.1
Macros | Functions
MtkDdToRad.c File Reference
#include "MisrUnitConv.h"
#include "MisrError.h"
#include <math.h>

Go to the source code of this file.

Macros

#define __USE_BSD
 

Functions

MTKt_status MtkDdToRad (double dd, double *rad)
 Convert decimal degrees to radians. More...
 

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 22 of file MtkDdToRad.c.

Function Documentation

◆ MtkDdToRad()

MTKt_status MtkDdToRad ( double  dd,
double *  rad 
)

Convert decimal degrees to radians.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 130.08284167 degrees to radians.
status = MtkDdToRad(130.08284167, &rad);
Parameters
[in]ddDecimal degrees
[out]radRadians

Definition at line 38 of file MtkDdToRad.c.


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