Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

Trigonometry Routines
[Math Utilities]


Detailed Description

Toolbox of Trigonometry routines useful for spacecraft operations.


Typedefs

typedef double O_SESSAME::Angle
 Representation of an angle in radians. Currently the angle representation is assumed to be radians, and can be used in any of the other Trigonometry functions to convert to Degrees or Degrees-Minutes-Seconds. In the future, the Angle should be a class that is unit independent and include the appropriate conversion functions.

Functions

double O_SESSAME::DMS2Deg (const double &_Degrees, const double &_Minutes, const double &_Seconds)
 Converts an angle from Degrees, Minutes, Seconds (^o,','') to a single quantity in degrees and fractions of a degree.
void O_SESSAME::Deg2DMS (const double &_Angle, double &Degrees, double &Minutes, double &Seconds)
 Converts an angle from a single quantity in degrees and fractions of a degree to Degrees, Minutes, Seconds (^o,','').
Angle O_SESSAME::DMS2Rad (const double &_Degrees, const double &_Minutes, const double &_Seconds)
 Converts an angle from Degrees, Minutes, Seconds (^o,','') to radians.
Angle O_SESSAME::Deg2Rad (const Angle &_Degrees)
 Converts an angle from Degrees to radians.
void O_SESSAME::Rad2DMS (const Angle &_Radians, double &Degrees, double &Minutes, double &Seconds)
 Converts an angle from radians to degrees, minutes, second format.
Angle O_SESSAME::Rad2Deg (const Angle &_Radians)
 Converts an angle from radians to degrees.
Angle O_SESSAME::atanh (const double &_z)


Typedef Documentation

typedef double O_SESSAME::Angle
 

Representation of an angle in radians. Currently the angle representation is assumed to be radians, and can be used in any of the other Trigonometry functions to convert to Degrees or Degrees-Minutes-Seconds. In the future, the Angle should be a class that is unit independent and include the appropriate conversion functions.

Definition at line 33 of file MathUtils.h.

Referenced by O_SESSAME::ssfTime::GetEpochGreenwichMeanSiderealTime(), and O_SESSAME::ssfTime::GetGreenwichMeanSiderealTime().


Function Documentation

Angle atanh const double &  _z  )  [inline]
 

Definition at line 106 of file MathUtils.h.

void Deg2DMS const double &  _Angle,
double &  Degrees,
double &  Minutes,
double &  Seconds
[inline]
 

Converts an angle from a single quantity in degrees and fractions of a degree to Degrees, Minutes, Seconds (^o,','').

Parameters:
_Angle in degrees (with decimal part).
_Degrees Number of degrees in angle (^o).
_Minutes Number of minutes in angle (').
_Seconds Number of seconds in angle ('').

Definition at line 54 of file MathUtils.h.

Referenced by O_SESSAME::Rad2DMS().

Angle Deg2Rad const Angle _Degrees  )  [inline]
 

Converts an angle from Degrees to radians.

Parameters:
_Degrees Angle to be converted (^o).
Returns:
Angle in radians (with decimal part).

Definition at line 76 of file MathUtils.h.

Referenced by O_SESSAME::TestKeplerian::Check(), O_SESSAME::EarthCentralBody::EarthCentralBody(), OrbitObserver::lat_lon(), OrbitController::lat_lon(), Magnetometer::Magnetometer(), main(), and OrbitController::TangentPlaneState().

double DMS2Deg const double &  _Degrees,
const double &  _Minutes,
const double &  _Seconds
[inline]
 

Converts an angle from Degrees, Minutes, Seconds (^o,','') to a single quantity in degrees and fractions of a degree.

Parameters:
_Degrees Number of degrees in angle (^o).
_Minutes Number of minutes in angle (').
_Seconds Number of seconds in angle ('').
Returns:
Angle in degrees (with decimal part).

Definition at line 42 of file MathUtils.h.

Referenced by O_SESSAME::DMS2Rad().

Angle DMS2Rad const double &  _Degrees,
const double &  _Minutes,
const double &  _Seconds
[inline]
 

Converts an angle from Degrees, Minutes, Seconds (^o,','') to radians.

Parameters:
_Degrees Number of degrees in angle (^o).
_Minutes Number of minutes in angle (').
_Seconds Number of seconds in angle ('').
Returns:
Angle in radians (with decimal part).

Definition at line 67 of file MathUtils.h.

References O_SESSAME::DMS2Deg().

Angle Rad2Deg const Angle _Radians  )  [inline]
 

Converts an angle from radians to degrees.

Parameters:
_Radians The angle to be converted (rad).
Returns:
returned number of degrees in angle (^o).

Definition at line 98 of file MathUtils.h.

void Rad2DMS const Angle _Radians,
double &  Degrees,
double &  Minutes,
double &  Seconds
[inline]
 

Converts an angle from radians to degrees, minutes, second format.

Parameters:
_Radians Angle to be converted (rad).
Degrees returned number of degrees in angle (^o).
Minutes returned number of minutes in angle (').
Seconds returned number of seconds in angle ('').

Definition at line 87 of file MathUtils.h.

References O_SESSAME::Deg2DMS().


Generated on Wed Sep 5 12:54:46 2007 for DSACSS Operational Code by  doxygen 1.3.9.1