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 aIIRVSegment
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the satellite ID.IIRVMessage
getIIRV()
Gets theIIRVMessage
containing the ephemeris data for this object'sIIRVSegment
.double
getMu()
Get the standard gravitational parameter for the satellite.IIRVSegment
getSegment()
Get theIIRVSegment
for this satellite.List<IIRVSegment>
getSegments()
Get the segments of the ephemeris.AbsoluteDate
getStart()
Get the start date of the ephemeris.int
getStartYear()
Gets the start year of the ephemeris data.AbsoluteDate
getStop()
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 aIIRVSegment
instance.An IIRV file contains ephemeris data for a single satellite; thus each
IIRVEphemerisFile.IIRVEphemeris
instance 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:
getId
in 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:
getMu
in interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>
- Returns:
- the gravitational parameter used in
EphemerisFile.SatelliteEphemeris.getPropagator(AttitudeProvider)
, in m³/s².
-
getSegment
public IIRVSegment getSegment()
Get theIIRVSegment
for this satellite.- Returns:
IIRVSegment
for 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:
getSegments
in 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:
getStart
in 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:
getStop
in interfaceEphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,IIRVSegment>
- Returns:
- ephemeris end date.
-
getIIRV
public IIRVMessage getIIRV()
Gets theIIRVMessage
containing the ephemeris data for this object'sIIRVSegment
.- Returns:
IIRVMessage
containing 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
-
-