Isis Developer Reference
Constants.h
Go to the documentation of this file.
1#ifndef Constants_h
2#define Constants_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <string>
11
12namespace Isis {
39 const double E = 2.7182818284590452354;
40 const double PI = 3.14159265358979323846;
41 const double HALFPI = 1.57079632679489661923;
42 const double TWOPI = 6.2831853071795864769253;
43 const double DEG2RAD = 0.017453292519943295769237;
44 const double RAD2DEG = 57.29577951308232087679815481;
45
46#if (defined(__SunOS__) || defined(__x86_64))
47 typedef long int BigInt;
48#else
49 typedef long long int BigInt;
50#endif
51}
52
53#endif
const double E
Sets some basic constants for use in ISIS programming.
Definition Constants.h:39
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
const double TWOPI
Two * PI, a complete revolution.
Definition Constants.h:42
const double DEG2RAD
Multiplier for converting from degrees to radians.
Definition Constants.h:43
long long int BigInt
Big int.
Definition Constants.h:49
const double HALFPI
The mathematical constant PI/2.
Definition Constants.h:41
const double RAD2DEG
Multiplier for converting from radians to degrees.
Definition Constants.h:44
const double PI
The mathematical constant PI.
Definition Constants.h:40