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

CMoon Class Reference

#include <Ephemeris.h>

Inheritance diagram for CMoon:

CCelestialBody List of all members.

Public Member Functions

 CMoon (double mjd)
 CMoon ()
 ~CMoon ()
void UpdatePosition (double mjd, double lst, double lat, CSol *ourSun)
float GetAge (void)

Public Attributes

float age

Detailed Description

Definition at line 136 of file Ephemeris.h.


Constructor & Destructor Documentation

CMoon::CMoon double  mjd  ) 
 

Definition at line 65 of file Moon.cpp.

CMoon::CMoon  ) 
 

Definition at line 72 of file Moon.cpp.

CMoon::~CMoon  ) 
 

Definition at line 78 of file Moon.cpp.


Member Function Documentation

float CMoon::GetAge void   ) 
 

Definition at line 194 of file Moon.cpp.

References age.

Referenced by CSkyManager::Update().

void CMoon::UpdatePosition double  mjd,
double  lst,
double  lat,
CSol ourSun
 

Definition at line 89 of file Moon.cpp.

References CCelestialBody::a, age, CCelestialBody::CalcActTime(), CCelestialBody::CalcEccAnom(), CCelestialBody::declination, CCelestialBody::e, CCelestialBody::GetLon(), CSol::getM(), CSol::getw(), CCelestialBody::i, CCelestialBody::latEcl, CCelestialBody::lonEcl, LUNATION_DAYS, CCelestialBody::M, CCelestialBody::N, CCelestialBody::r, CCelestialBody::rightAscension, CCelestialBody::UpdateOrbElements(), CCelestialBody::w, and WrapTwoPi().

Referenced by CSkyManager::Update().


Member Data Documentation

float CMoon::age
 

Definition at line 142 of file Ephemeris.h.

Referenced by GetAge(), and UpdatePosition().


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen