|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectterrenus.orbit.Sun
public class Sun
The Sun
class models the sun position over time. The
position is computed relative to a WGS 72 Earth model.
Constructor Summary | |
---|---|
Sun()
|
Method Summary | |
---|---|
static double[] |
getPosition(double[] output)
Gets the position of the sun in Earth-centered inertial coordinates. |
static void |
setDate(java.util.Date date)
Sets the date object and performs the sun position computation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sun()
Method Detail |
---|
public static void setDate(java.util.Date date)
getPosition(double[])
.
date
- the date for the sun computations.public static double[] getPosition(double[] output)
output
- the output position array to fill. If null, an
output array is created.
|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |