org.orekit.files.general
Class SatelliteTimeCoordinate

java.lang.Object
  extended by org.orekit.files.general.SatelliteTimeCoordinate
All Implemented Interfaces:
Serializable, TimeStamped

public class SatelliteTimeCoordinate
extends Object
implements TimeStamped, Serializable

Contains the position/velocity of a satellite at an specific epoch.

Author:
Thomas Neidhart
See Also:
Serialized Form

Constructor Summary
SatelliteTimeCoordinate(AbsoluteDate time, PVCoordinates coord)
          Creates a new SatelliteTimeCoordinate instance with a given epoch and coordinate.
SatelliteTimeCoordinate(AbsoluteDate time, PVCoordinates coord, double clockCorr, double rateChange)
          Creates a new SatelliteTimeCoordinate instance with a given epoch, coordinate and clock value / rate change.
SatelliteTimeCoordinate(AbsoluteDate time, Vector3D pos, double clock)
          Creates a new SatelliteTimeCoordinate object with a given epoch and position coordinate.
 
Method Summary
 double getClockCorrection()
          Returns the clock correction value.
 double getClockRateChange()
          Returns the clock rate change value.
 PVCoordinates getCoordinate()
          Returns the coordinate of this entry.
 AbsoluteDate getDate()
          Get the date.
 AbsoluteDate getEpoch()
          Returns the epoch for this coordinate.
 void setClockCorrection(double corr)
          Set the clock correction to the given value.
 void setClockRateChange(double rateChange)
          Set the clock rate change to the given value.
 void setCoordinate(PVCoordinates coordinate)
          Set the coordinate for this entry.
 void setEpoch(AbsoluteDate epoch)
          Set the epoch for this coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SatelliteTimeCoordinate

public SatelliteTimeCoordinate(AbsoluteDate time,
                               PVCoordinates coord)
Creates a new SatelliteTimeCoordinate instance with a given epoch and coordinate.

Parameters:
time - the epoch of the entry
coord - the coordinate of the entry

SatelliteTimeCoordinate

public SatelliteTimeCoordinate(AbsoluteDate time,
                               Vector3D pos,
                               double clock)
Creates a new SatelliteTimeCoordinate object with a given epoch and position coordinate. The velocity is set to a zero vector.

Parameters:
time - the epoch of the entry
pos - the position coordinate of the entry
clock - the clock value in (micro-seconds)

SatelliteTimeCoordinate

public SatelliteTimeCoordinate(AbsoluteDate time,
                               PVCoordinates coord,
                               double clockCorr,
                               double rateChange)
Creates a new SatelliteTimeCoordinate instance with a given epoch, coordinate and clock value / rate change.

Parameters:
time - the epoch of the entry
coord - the coordinate of the entry
clockCorr - the clock value that corresponds to this coordinate
rateChange - the clock rate change
Method Detail

getEpoch

public AbsoluteDate getEpoch()
Returns the epoch for this coordinate.

Returns:
the epoch

getDate

public AbsoluteDate getDate()
Get the date.

Specified by:
getDate in interface TimeStamped
Returns:
date attached to the object

setEpoch

public void setEpoch(AbsoluteDate epoch)
Set the epoch for this coordinate.

Parameters:
epoch - the epoch to be set

getCoordinate

public PVCoordinates getCoordinate()
Returns the coordinate of this entry.

Returns:
the coordinate

setCoordinate

public void setCoordinate(PVCoordinates coordinate)
Set the coordinate for this entry.

Parameters:
coordinate - the coordinate to be set

getClockCorrection

public double getClockCorrection()
Returns the clock correction value.

Returns:
the clock correction

setClockCorrection

public void setClockCorrection(double corr)
Set the clock correction to the given value.

Parameters:
corr - the clock correction value

getClockRateChange

public double getClockRateChange()
Returns the clock rate change value.

Returns:
the clock rate change

setClockRateChange

public void setClockRateChange(double rateChange)
Set the clock rate change to the given value.

Parameters:
rateChange - the clock rate change value


Copyright © 2017 CNES. All Rights Reserved.