MISR Toolkit  1.5.1
MisrUnitConv.h
Go to the documentation of this file.
1 /*===========================================================================
2 = =
3 = MisrUnitConv =
4 = =
5 =============================================================================
6 
7  Jet Propulsion Laboratory
8  MISR
9  MISR Toolkit
10 
11  Copyright 2005, California Institute of Technology.
12  ALL RIGHTS RESERVED.
13  U.S. Government Sponsorship acknowledged.
14 
15 ============================================================================*/
16 
17 #ifndef MISRUNITCONV_H
18 #define MISRUNITCONV_H
19 
20 #include <MisrError.h>
21 
22 
23 MTKt_status MtkDmsToDd( double dms,
24  double *dd );
25 
26 MTKt_status MtkDdToDms( double dd,
27  double *dms );
28 
29 MTKt_status MtkDdToRad( double dd,
30  double *rad );
31 
32 MTKt_status MtkRadToDd( double rad,
33  double *dd );
34 
35 MTKt_status MtkDmsToRad( double dms,
36  double *rad );
37 
38 MTKt_status MtkRadToDms( double rad,
39  double *dms );
40 
41 MTKt_status MtkDmsToDegMinSec( double dms,
42  int *deg,
43  int *min,
44  double *sec );
45 
47  int min,
48  double sec,
49  double *dms );
50 
51 MTKt_status MtkDdToDegMinSec( double dd,
52  int *deg,
53  int *min,
54  double *sec );
55 
57  int min,
58  double sec,
59  double *dd );
60 
61 MTKt_status MtkRadToDegMinSec( double rad,
62  int *deg,
63  int *min,
64  double *sec );
65 
67  int min,
68  double sec,
69  double *rad );
70 
71 #endif /* MISRUNITCONV_H */
MTKt_status MtkDegMinSecToDms(int deg, int min, double sec, double *dms)
Convert unpacked Degrees, minutes, seconds to packed.
MTKt_status MtkDmsToDegMinSec(double dms, int *deg, int *min, double *sec)
Convert packed degrees, minutes, seconds to unpacked.
MTKt_status MtkRadToDegMinSec(double rad, int *deg, int *min, double *sec)
Convert radians to unpacked degrees, minutes, seconds.
MTKt_status MtkDegMinSecToRad(int deg, int min, double sec, double *rad)
Convert unpacked degrees, minutes, seconds to radians.
MTKt_status MtkDmsToDd(double dms, double *dd)
Convert packed degrees, minutes, seconds to decimal degrees.
Definition: MtkDmsToDd.c:33
MTKt_status MtkRadToDms(double rad, double *dms)
Convert radians to packed degrees, minutes, seconds.
Definition: MtkRadToDms.c:38
MTKt_status MtkDdToDms(double dd, double *dms)
Convert decimal degrees to packed degrees, minutes, seconds.
Definition: MtkDdToDms.c:33
MTKt_status MtkDdToRad(double dd, double *rad)
Convert decimal degrees to radians.
Definition: MtkDdToRad.c:38
MTKt_status MtkDmsToRad(double dms, double *rad)
Convert packed degrees, minutes, seconds to Radians.
Definition: MtkDmsToRad.c:38
MTKt_status MtkDegMinSecToDd(int deg, int min, double sec, double *dd)
Convert unpacked degrees, minutes, seconds to decimal degrees.
MTKt_status MtkDdToDegMinSec(double dd, int *deg, int *min, double *sec)
Convert decimal degrees to unpacked degrees, minutes, seconds.
MTKt_status
Definition: MisrError.h:11
MTKt_status MtkRadToDd(double rad, double *dd)
Convert radians to decimal degrees.
Definition: MtkRadToDd.c:38
HDFFCLIBAPI void * min

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