MISR Toolkit  1.5.1
Macros | Functions
MtkRadToDd.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 MtkRadToDd (double rad, double *dd)
 Convert radians to decimal degrees. More...
 

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 22 of file MtkRadToDd.c.

Function Documentation

◆ MtkRadToDd()

MTKt_status MtkRadToDd ( double  rad,
double *  dd 
)

Convert radians to decimal degrees.

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

Definition at line 38 of file MtkRadToDd.c.


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