Trigonometry Routines
[Math Utilities]


Detailed Description

Toolbox of Trigonometry routines useful for spacecraft operations.


Typedefs

typedef double 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 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 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 DMS2Rad (const double &_Degrees, const double &_Minutes, const double &_Seconds)
 Converts an angle from Degrees, Minutes, Seconds (^o,','') to radians.

Angle Deg2Rad (const Angle &_Degrees)
 Converts an angle from Degrees to radians.

void Rad2DMS (const Angle &_Radians, double &Degrees, double &Minutes, double &Seconds)
 Converts an angle from radians to degrees, minutes, second format.

Angle Rad2Deg (const Angle &_Radians)
 Converts an angle from radians to degrees.

Angle 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.


Function Documentation

double 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.

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.

void 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,','').

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.

Angle DMS2Rad const double &  _Degrees,
const double &  _Minutes,
const double &  _Seconds
 

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.

Angle Deg2Rad const Angle _Degrees  ) 
 

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.

void Rad2DMS const Angle _Radians,
double &  Degrees,
double &  Minutes,
double &  Seconds
 

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.

Angle Rad2Deg const Angle _Radians  ) 
 

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.

Angle atanh const double &  _z  ) 
 

Definition at line 106 of file MathUtils.h.


Generated on Wed Aug 6 12:59:11 2003 for Open-Sessame Framework by doxygen1.3