public class LocalTimeAngle extends Object
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 (Local Time In Hours = 12.00h + local time angle * 12 / Π).
Constructor and Description |
---|
LocalTimeAngle(PVCoordinatesProvider sunEphemeris)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
computeEquationOfTime(AbsoluteDate date)
Compute equation of time in TIRF in the range [-43200s; 43200s].
|
double |
computeMeanLocalTimeAngle(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute mean local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeMeanLocalTimeAngle(Orbit orbit)
Compute mean local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeTrueLocalTimeAngle(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute true local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeTrueLocalTimeAngle(Orbit orbit)
Compute true local time angle in TIRF frame in the range [-Π, Π[.
|
public LocalTimeAngle(PVCoordinatesProvider sunEphemeris)
sunEphemeris
- Sun ephemerispublic double computeTrueLocalTimeAngle(AbsoluteDate date, Vector3D pos, Frame frame) throws PatriusException
date
- datepos
- position in provided frame frameframe
- frame in which position is definedPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeTrueLocalTimeAngle(Orbit orbit) throws PatriusException
orbit
- orbitPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeMeanLocalTimeAngle(AbsoluteDate date, Vector3D pos, Frame frame) throws PatriusException
Mean local time is equal to true local time minus equation of time.
date
- datepos
- position in provided frameframe
- frame in which position is definedPatriusException
- thrown if true local time could not be computedpublic double computeMeanLocalTimeAngle(Orbit orbit) throws PatriusException
Mean local time is equal to true local time minus equation of time.
orbit
- orbitPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeEquationOfTime(AbsoluteDate date) throws PatriusException
date
- datePatriusException
- thrown if equation of time could not be computedCopyright © 2019 CNES. All rights reserved.