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

O_SESSAME::TestKeplerian Class Reference
[Orbit State Represenations]

#include <TestKeplerian.h>

Collaboration diagram for O_SESSAME::TestKeplerian:

Collaboration graph
[legend]
List of all members.

Detailed Description

Test Keplerian orbital class.

Definition at line 29 of file TestKeplerian.h.

Public Member Functions

virtual ~TestKeplerian ()
 Default Deconstructor.
virtual TestKeplerianNewPointer ()
 Return a pointer to a new instance of a TestKeplerian orbit state representation type.
virtual TestKeplerianClone ()
 Return a pointer to a copy of the Keplerian orbit state representation instance.
 TestKeplerian ()
 Create a TestKeplerian orbit state representation and test the Keplerian functions.
void Check ()
 A function to check the Keplerian class.
void DisplayKeplerian (Keplerian _keplerian)
void DisplayPositionVelocity (Vector _positionVelocity)
bool CompareKeplerian (Keplerian _keplerianA, Keplerian _keplerianB)
void Keplerian2ECI2Keplerian ()
void ErrorCheck (bool _status)

Private Attributes

Vector m_OrbitalElementCheck
Vector m_PositionVelocityCheck


Constructor & Destructor Documentation

O_SESSAME::TestKeplerian::~TestKeplerian  )  [virtual]
 

Default Deconstructor.

Definition at line 19 of file TestKeplerian.cpp.

O_SESSAME::TestKeplerian::TestKeplerian  ) 
 

Create a TestKeplerian orbit state representation and test the Keplerian functions.

Definition at line 53 of file TestKeplerian.cpp.

References NUM_KEPLERIAN_ELEMENTS.

Referenced by Clone(), and NewPointer().


Member Function Documentation

void O_SESSAME::TestKeplerian::Check  ) 
 

A function to check the Keplerian class.

Definition at line 61 of file TestKeplerian.cpp.

References CompareKeplerian(), O_SESSAME::Deg2Rad(), DisplayKeplerian(), ErrorCheck(), O_SESSAME::OsculatingOrbitalElements::GetMeanOrbitalElements(), O_SESSAME::OsculatingOrbitalElements::GetOsculatingOrbitalElements(), Keplerian2ECI2Keplerian(), m_OrbitalElementCheck, O_SESSAME::Keplerian::SetKeplerianRepresentationTrueAnomaly(), O_SESSAME::OsculatingOrbitalElements::SetMeanOrbitalElements(), and O_SESSAME::OsculatingOrbitalElements::SetOsculatingOrbitalElements().

TestKeplerian * O_SESSAME::TestKeplerian::Clone  )  [virtual]
 

Return a pointer to a copy of the Keplerian orbit state representation instance.

This is used to request memory for a copy of this instance of Keplerian. It is necessary when attempting to get a pointer from the abstract data type OrbitStateRepresentation and the actual representation type isn't known.

Returns:
a pointer to a copy of the Keplerian object.

Definition at line 44 of file TestKeplerian.cpp.

References TestKeplerian().

bool O_SESSAME::TestKeplerian::CompareKeplerian Keplerian  _keplerianA,
Keplerian  _keplerianB
 

Definition at line 182 of file TestKeplerian.cpp.

References abs, O_SESSAME::Keplerian::GetArgPerigee(), O_SESSAME::Keplerian::GetEccentricAnomaly(), O_SESSAME::Keplerian::GetEccentricity(), O_SESSAME::Keplerian::GetInclination(), O_SESSAME::Keplerian::GetLongAscNode(), O_SESSAME::Keplerian::GetMeanAnomaly(), O_SESSAME::Keplerian::GetSemimajorAxis(), and O_SESSAME::Keplerian::GetTrueAnomaly().

Referenced by Check(), and Keplerian2ECI2Keplerian().

void O_SESSAME::TestKeplerian::DisplayKeplerian Keplerian  _keplerian  ) 
 

Definition at line 213 of file TestKeplerian.cpp.

References O_SESSAME::Keplerian::GetArgPerigee(), O_SESSAME::Keplerian::GetEccentricAnomaly(), O_SESSAME::Keplerian::GetEccentricity(), O_SESSAME::Keplerian::GetInclination(), O_SESSAME::Keplerian::GetLongAscNode(), O_SESSAME::Keplerian::GetMeanAnomaly(), O_SESSAME::Keplerian::GetSemimajorAxis(), and O_SESSAME::Keplerian::GetTrueAnomaly().

Referenced by Check(), and Keplerian2ECI2Keplerian().

void O_SESSAME::TestKeplerian::DisplayPositionVelocity Vector  _positionVelocity  ) 
 

Definition at line 228 of file TestKeplerian.cpp.

References _, and O_SESSAME::Vector.

Referenced by Keplerian2ECI2Keplerian().

void O_SESSAME::TestKeplerian::ErrorCheck bool  _status  ) 
 

Definition at line 204 of file TestKeplerian.cpp.

Referenced by Check(), and Keplerian2ECI2Keplerian().

void O_SESSAME::TestKeplerian::Keplerian2ECI2Keplerian  ) 
 

Definition at line 157 of file TestKeplerian.cpp.

References CompareKeplerian(), DisplayKeplerian(), DisplayPositionVelocity(), ErrorCheck(), O_SESSAME::Keplerian::GetPositionVelocity(), m_OrbitalElementCheck, O_SESSAME::Keplerian::SetPositionVelocity(), and O_SESSAME::Vector.

Referenced by Check().

TestKeplerian * O_SESSAME::TestKeplerian::NewPointer  )  [virtual]
 

Return a pointer to a new instance of a TestKeplerian orbit state representation type.

This is used to request memory for a new instance of a Keplerian. It is necessary when attempting to get a pointer from the abstract data type OrbitStateRepresentation and the actual representation type isn't known.

Returns:
a pointer to a new allocation of memory for the Keplerian object.

Definition at line 31 of file TestKeplerian.cpp.

References TestKeplerian().


Member Data Documentation

Vector O_SESSAME::TestKeplerian::m_OrbitalElementCheck [private]
 

6x1 vector of Keplerian orbital elements [a, e, i, $\Omega$, $\omega$, $\nu$ ] (km, -, rad, rad, rad, rad)

Definition at line 55 of file TestKeplerian.h.

Referenced by Check(), and Keplerian2ECI2Keplerian().

Vector O_SESSAME::TestKeplerian::m_PositionVelocityCheck [private]
 

6x1 vector of Position and Velocity [X, Y, Z, Vx, Vy, Vz ] (km, -, rad, rad, rad, rad)

Definition at line 58 of file TestKeplerian.h.


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 12:54:48 2007 for DSACSS Operational Code by  doxygen 1.3.9.1