OSFEG-C++  1.4.6
OpenSF Error Generation Library
Utilities.h
1 /*
2  * openSF Error Generation Libraries (OSFEG)
3  * Deimos Space, S.L.U.
4  *
5  * This file is part of OSFEG. OSFEG is free software; you can redistribute it
6  * and/or modify it under the terms of the 'ESA Software Community Licence Permissive' as
7  * published by the European Space Agency; either version 2.4 of the License,
8  * or (at your option) any later version. You should have received a
9  * copy of the 'ESA Software Community Licence Permissive - v2.4' along with this program
10  * or one can be found at <http://eop-cfi.esa.int/index.php/docs-and-mission-data/licensing-documents>.
11  *
12  */
13 #ifndef Utilities_I36c379d4m1138c5d6e87mm434c_H
14 #define Utilities_I36c379d4m1138c5d6e87mm434c_H
15 
16 
20 class Utilities
21 {
22 public:
24 // public attributes
26 
30 static const double pi;
31 
35 static const double twoPi;
36 
37 
39 // public operations
41 
49 static double RadToDeg(double radians);
50 
58 static double DegToRad(double degrees);
59 
67 static double DegToArcSec(double degrees);
68 
76 static double ArcSecToDeg(double arcSec);
77 
85 static double NormaliseToPI(double radians);
86 
94 static double NormaliseTo2PI(double radians);
95 
103 static double NormaliseTo180(double degrees);
104 
112 static double NormaliseTo360(double degrees);
113 
114 
115 };
116 
117 #endif // Utilities_I36c379d4m1138c5d6e87mm434c_H
118 
Definition: Utilities.h:21
static double NormaliseTo2PI(double radians)
static const double twoPi
Definition: Utilities.h:35
static double NormaliseTo360(double degrees)
static double NormaliseTo180(double degrees)
static double DegToRad(double degrees)
static double DegToArcSec(double degrees)
static double ArcSecToDeg(double arcSec)
static const double pi
Definition: Utilities.h:30
static double RadToDeg(double radians)
static double NormaliseToPI(double radians)