MISR Toolkit  1.5.1
Macros | Functions
MtkDegMinSecToRad.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 MtkDegMinSecToRad (int deg, int min, double sec, double *rad)
 Convert unpacked degrees, minutes, seconds to radians. More...
 

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 22 of file MtkDegMinSecToRad.c.

Function Documentation

◆ MtkDegMinSecToRad()

MTKt_status MtkDegMinSecToRad ( int  deg,
int  min,
double  sec,
double *  rad 
)

Convert unpacked degrees, minutes, seconds to radians.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 130 degress, 4 minutes, and 58.23 seconds to radians.
status = MtkDegMinSecToRad(130, 4, 58.23, &rad);
Parameters
[in]degDegrees
[in]minMinutes
[in]secSeconds
[out]radRadians

Definition at line 38 of file MtkDegMinSecToRad.c.


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