#include "MisrUnitConv.h"
#include "MisrError.h"
#include <math.h>
Go to the source code of this file.
◆ __USE_BSD
◆ MtkRadToDegMinSec()
MTKt_status MtkRadToDegMinSec |
( |
double |
rad, |
|
|
int * |
deg, |
|
|
int * |
min, |
|
|
double * |
sec |
|
) |
| |
Convert radians to unpacked degrees, minutes, seconds.
- Returns
- MTK_SUCCESS if successful.
- Example:
- In this example, we convert 2.270373886 radians to unpacked degrees, minutes, seconds.
- Parameters
-
[in] | rad | Radians |
[out] | deg | Degrees |
[out] | min | Minutes |
[out] | sec | Seconds |
Definition at line 38 of file MtkRadToDegMinSec.c.