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

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 22 of file MtkDmsToRad.c.

Function Documentation

◆ MtkDmsToRad()

MTKt_status MtkDmsToRad ( double  dms,
double *  rad 
)

Convert packed degrees, minutes, seconds to Radians.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 130004058.23 dms to radians.
status = MtkDmsToRad(130004058.23, &rad);
Parameters
[in]dmsPacked degrees, minutes, seconds
[out]radRadians

Definition at line 38 of file MtkDmsToRad.c.


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