MISR Toolkit  1.5.1
Macros | Functions
MtkRadToDms.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 MtkRadToDms (double rad, double *dms)
 Convert radians to packed degrees, minutes, seconds. More...
 

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 22 of file MtkRadToDms.c.

Function Documentation

◆ MtkRadToDms()

MTKt_status MtkRadToDms ( double  rad,
double *  dms 
)

Convert radians to packed degrees, minutes, seconds.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 2.270373886 radians to packed degrees, minutes, seconds.
status = MtkRadToDms(2.270373886, &dms);
Parameters
[in]radRadians
[out]dmsDegrees, minutes, seconds

Definition at line 38 of file MtkRadToDms.c.


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