Package org.orekit.files.iirv
Class IIRVEphemerisFile.IIRVEphemeris
- java.lang.Object
-
- org.orekit.files.iirv.IIRVEphemerisFile.IIRVEphemeris
-
- All Implemented Interfaces:
EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>
- Enclosing class:
- IIRVEphemerisFile
public static class IIRVEphemerisFile.IIRVEphemeris extends Object implements EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>
Ephemeris from an IIRV file.
-
-
Constructor Summary
Constructors Constructor Description IIRVEphemeris(IIRVSegment segment)Constructs aIIRVSegmentinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get the satellite ID.IIRVMessagegetIIRV()Gets theIIRVMessagecontaining the ephemeris data for this object'sIIRVSegment.doublegetMu()Get the standard gravitational parameter for the satellite.IIRVSegmentgetSegment()Get theIIRVSegmentfor this satellite.List<IIRVSegment>getSegments()Get the segments of the ephemeris.AbsoluteDategetStart()Get the start date of the ephemeris.intgetStartYear()Gets the start year of the ephemeris data.AbsoluteDategetStop()Get the end date of the ephemeris.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.files.general.EphemerisFile.SatelliteEphemeris
getPropagator, getPropagator
-
-
-
-
Constructor Detail
-
IIRVEphemeris
public IIRVEphemeris(IIRVSegment segment)
Constructs aIIRVSegmentinstance.An IIRV file contains ephemeris data for a single satellite; thus each
IIRVEphemerisFile.IIRVEphemerisinstance contains only a singleIIRVSegment.- Parameters:
segment- ephemeris segments
-
-
Method Detail
-
getId
public String getId()
Get the satellite ID. The satellite ID is unique only within the same ephemeris file.- Specified by:
getIdin interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>- Returns:
- the satellite's ID, never
null.
-
getMu
public double getMu()
Get the standard gravitational parameter for the satellite.- Specified by:
getMuin interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>- Returns:
- the gravitational parameter used in
EphemerisFile.SatelliteEphemeris.getPropagator(AttitudeProvider), in m³/s².
-
getSegment
public IIRVSegment getSegment()
Get theIIRVSegmentfor this satellite.- Returns:
IIRVSegmentfor this satellite.- See Also:
getSegment()
-
getSegments
public List<IIRVSegment> getSegments()
Get the segments of the ephemeris.Ephemeris segments are typically used to split an ephemeris around discontinuous events, such as maneuvers.
- Specified by:
getSegmentsin interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>- Returns:
- the segments contained in the ephemeris file for this satellite.
-
getStart
public AbsoluteDate getStart()
Get the start date of the ephemeris.The date returned by this method is equivalent to
getPropagator().getMinDate().- Specified by:
getStartin interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>- Returns:
- ephemeris start date.
-
getStop
public AbsoluteDate getStop()
Get the end date of the ephemeris.The date returned by this method is equivalent to
getPropagator().getMaxDate().- Specified by:
getStopin interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>- Returns:
- ephemeris end date.
-
getIIRV
public IIRVMessage getIIRV()
Gets theIIRVMessagecontaining the ephemeris data for this object'sIIRVSegment.- Returns:
IIRVMessagecontaining the ephemeris data for this object'sIIRVSegment.
-
getStartYear
public int getStartYear()
Gets the start year of the ephemeris data.- Returns:
- start year of the ephemeris data
-
-