|
OSFEG-C++
1.4.7
OpenSF Error Generation Library
|
#include <Utilities.h>
Static Public Member Functions | |
| static double | RadToDeg (double radians) |
| static double | DegToRad (double degrees) |
| static double | DegToArcSec (double degrees) |
| static double | ArcSecToDeg (double arcSec) |
| static double | NormaliseToPI (double radians) |
| static double | NormaliseTo2PI (double radians) |
| static double | NormaliseTo180 (double degrees) |
| static double | NormaliseTo360 (double degrees) |
Static Public Attributes | |
| static const double | pi |
| static const double | twoPi |
This class collects constants and functions of general use.
|
static |
This function converts arcseconds to degrees.
| arcSec | Input angle [arcSec] |
|
static |
This function converts degrees to arcseconds.
| degrees | Input angle [deg] |
|
static |
This function converts degrees to radians.
| degrees | Input angle [deg] |
|
static |
Normalise the input angle to be withing the interval [-180, 180) degrees
| degrees | Input angle [deg] |
|
static |
It normalises the input angle to be in the [0, 2pi) interval.
| radians | Input angle [rad] |
|
static |
Normalise the input angle to be withing the interval [0, 360) degrees.
| degrees | Input angle [deg] |
|
static |
It normalises the input angle to be in the [-PI, PI) interval
| radians | Input angle in [rad] |
|
static |
This function converts radians to degrees.
| radians | Input angle [rad] |
|
static |
Represents the value of pi.
|
static |
Represents the value of (2 * pi).