#include <SolarSystem.h>
Public Types | |
| enum | Body { Sun = 8, Moon = 9 } |
| index of body that corresponds to the define's in SolSystem. More... | |
Public Methods | |
| SolarSystem () | |
| SolarSystem (Body body, JulianDate date) | |
| simple constructor that initializes. More... | |
| ~SolarSystem () | |
| SkyDir | direction (Body body, JulianDate date) |
| set the body and date; retun the SkyDir. More... | |
| operator SkyDir () const | |
| conversion operator that returns the SkyDir. More... | |
Private Attributes | |
| SkyDir | m_dir |
| SolSystem * | m_ss |
This is a thin wrapper to code in the class SolSystem
Definition at line 23 of file SolarSystem.h.
|
|
index of body that corresponds to the define's in SolSystem.
Definition at line 29 of file SolarSystem.h. 00029 {
00030 //VENUS=1, MARS=2, JUPITER=3,SATURN=4,
00031 //URANUS=5,NEPTUNE=6, PLUTO=7,
00032 Sun=8, Moon=9 };
|
|
|
Definition at line 8 of file SolarSystem.cxx. |
|
||||||||||||
|
simple constructor that initializes.
Definition at line 10 of file SolarSystem.cxx. |
|
|
Definition at line 28 of file SolarSystem.cxx. 00028 { delete m_ss;}
|
|
||||||||||||
|
set the body and date; retun the SkyDir.
Definition at line 18 of file SolarSystem.cxx. Referenced by SolarSystem().
00019 {
00020 m_ss->SetObj(body);
00021 m_ss->CalculatePos(jd);
00022 m_dir = SkyDir(m_ss->Ra*180/M_PI, m_ss->Dec*180/M_PI);
00023
00024 return m_dir;
00025 }
|
|
|
conversion operator that returns the SkyDir.
Definition at line 50 of file SolarSystem.h. 00050 { return m_dir; }
|
|
|
Definition at line 53 of file SolarSystem.h. |
|
|
Definition at line 54 of file SolarSystem.h. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001