Isis 3.0
Back | Home
Constants.h
Go to the documentation of this file.
1 
23 #ifndef Constants_h
24 #define Constants_h
25 
26 #include <string>
27 
28 namespace Isis {
53  const double E(2.7182818284590452354);
54  const double PI(3.14159265358979323846);
55  const double HALFPI(1.57079632679489661923);
56  const double TWOPI(6.2831853071795864769253); // !<Two * PI, a complete revolution
57  const double DEG2RAD(0.017453292519943295769237);
58  const double RAD2DEG(57.29577951308232087679815481);
59 
60 #if (defined(__SunOS__) || defined(__x86_64))
61  typedef long int BigInt;
62 #else
63  typedef long long int BigInt;
64 #endif
65 }
66 
67 #endif
long long int BigInt
Definition: Constants.h:63
const double E(2.7182818284590452354)
Sets some basic constants for use in ISIS programming.
const double PI(3.14159265358979323846)
The mathematical constant PI.
const double DEG2RAD(0.017453292519943295769237)
Multiplier for converting from degrees to radians.
const double HALFPI(1.57079632679489661923)
The mathematical constant PI/2.
const double TWOPI(6.2831853071795864769253)
const double RAD2DEG(57.29577951308232087679815481)
Multiplier for converting from radians to degrees.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:16:12