#include "MisrUnitConv.h"
#include "MisrError.h"
#include <math.h>
Go to the source code of this file.
◆ __USE_BSD
◆ 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.
- Parameters
-
[in] | deg | Degrees |
[in] | min | Minutes |
[in] | sec | Seconds |
[out] | rad | Radians |
Definition at line 38 of file MtkDegMinSecToRad.c.