|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.mars.OrbitInfo
public class OrbitInfo
The OrbitInfo class keeps track of the orbital position of Mars
| Constructor Summary | |
|---|---|
OrbitInfo()
Constructs an OrbitInfo object |
|
| Method Summary | |
|---|---|
void |
addTime(double millisols)
Adds time to the orbit |
double |
getDistanceToSun()
Gets the current distance to the Sun. |
double |
getRadius()
Returns the radius of Mars's orbit in A.U. |
double |
getSunAngleFromPhi(double phi)
Gets the Sun's angle from a given phi (latitude). |
Coordinates |
getSunDirection()
The point on the surface of Mars perpendicular to the Sun as Mars rotates. |
double |
getTheta()
Returns the theta angle of Mars's orbit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrbitInfo()
| Method Detail |
|---|
public void addTime(double millisols)
millisols - time added (millisols)public double getTheta()
public double getRadius()
public double getDistanceToSun()
public double getSunAngleFromPhi(double phi)
phi - location in radians (0 - PI).
public Coordinates getSunDirection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||