|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.time.LocalTime
public class LocalTime
This class provides methods to compute local time (true local time and mean local time).
The local time is represented by the angle between the projections of the Sun and the satellite in the equatorial plane; therefore this angle is equal to zero when the local time is 12.00h and Π when the local time is 0.00h.
Constructor Summary | |
---|---|
LocalTime(PVCoordinatesProvider sunEphemeris)
Constructor |
Method Summary | |
---|---|
double |
computeEquationOfTime(AbsoluteDate date)
Compute equation of time in TIRF in the range ]-43200s; 43200s]. |
double |
computeMeanLocalTime(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute mean local time in TIRF frame in s. |
double |
computeMeanLocalTime(Orbit orbit)
Compute mean local time in TIRF frame in s. |
double |
computeTrueLocalTime(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute true local time in TIRF frame in the range [0s; 86400s[. |
double |
computeTrueLocalTime(Orbit orbit)
Compute true local time in TIRF frame in the range [0s; 86400s[. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalTime(PVCoordinatesProvider sunEphemeris)
sunEphemeris
- Sun ephemerisMethod Detail |
---|
public double computeTrueLocalTime(AbsoluteDate date, Vector3D pos, Frame frame) throws OrekitException
date
- datepos
- position in provided frame frameframe
- frame in which position is defined
OrekitException
- thrown if Sun PV coordinates could not be retrievedpublic double computeTrueLocalTime(Orbit orbit) throws OrekitException
orbit
- orbit
OrekitException
- thrown if Sun PV coordinates could not be retrievedpublic double computeMeanLocalTime(AbsoluteDate date, Vector3D pos, Frame frame) throws OrekitException
Mean local time is equal to true local time minus equation of time.
date
- datepos
- position in provided frameframe
- frame in which position is defined
OrekitException
- thrown if true local time could not be computedpublic double computeMeanLocalTime(Orbit orbit) throws OrekitException
Mean local time is equal to true local time minus equation of time.
orbit
- orbit
OrekitException
- thrown if Sun PV coordinates could not be retrievedpublic double computeEquationOfTime(AbsoluteDate date) throws OrekitException
date
- date
OrekitException
- thrown if equation of time could not be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |