Package org.orekit.files.general
Class OrekitAttitudeEphemerisFile.OrekitSatelliteAttitudeEphemeris
- java.lang.Object
-
- org.orekit.files.general.OrekitAttitudeEphemerisFile.OrekitSatelliteAttitudeEphemeris
-
- All Implemented Interfaces:
AttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
- Enclosing class:
- OrekitAttitudeEphemerisFile
public static class OrekitAttitudeEphemerisFile.OrekitSatelliteAttitudeEphemeris extends Object implements AttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
Inner class ofOrekitAttitudeEphemerisFile
that defines theOrekitAttitudeEphemerisFile.OrekitSatelliteAttitudeEphemeris
corresponding object for this ephemeris type.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_INTERPOLATION_METHOD
Default interpolation sample size if it is not specified.static int
DEFAULT_INTERPOLATION_SIZE
Default interpolation sample size if it is not specified.
-
Constructor Summary
Constructors Constructor Description OrekitSatelliteAttitudeEphemeris(String id)
Standard constructor for building the satellite Ephemeris object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
addNewSegment(List<SpacecraftState> states, String interpolationMethod, int interpolationSamples, AngularDerivativesFilter availableDerivatives)
Injects pre-computed satellite states into this attitude ephemeris file object, returning the generatedOrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
that has been stored internally.String
getId()
Get the satellite ID.List<OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
getSegments()
Get the segments of the attitude ephemeris.AbsoluteDate
getStart()
Get the start date of the ephemeris.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.AttitudeEphemerisFile.SatelliteAttitudeEphemeris
getAttitudeProvider
-
-
-
-
Field Detail
-
DEFAULT_INTERPOLATION_METHOD
public static final String DEFAULT_INTERPOLATION_METHOD
Default interpolation sample size if it is not specified.- See Also:
- Constant Field Values
-
DEFAULT_INTERPOLATION_SIZE
public static final int DEFAULT_INTERPOLATION_SIZE
Default interpolation sample size if it is not specified.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrekitSatelliteAttitudeEphemeris
public OrekitSatelliteAttitudeEphemeris(String id)
Standard constructor for building the satellite Ephemeris object.- Parameters:
id
- the ID of the space object for this data
-
-
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 interfaceAttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
- Returns:
- the satellite's ID, never
null
.
-
getSegments
public List<OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment> getSegments()
Get the segments of the attitude ephemeris.Attitude ephemeris segments are typically used to split an ephemeris around discontinuous events.
- Specified by:
getSegments
in interfaceAttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
- Returns:
- the segments contained in the attitude ephemeris file for this satellite.
-
getStart
public AbsoluteDate getStart()
Get the start date of the ephemeris.- Specified by:
getStart
in interfaceAttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
- Returns:
- ephemeris start date.
-
getStop
public AbsoluteDate getStop()
Get the end date of the ephemeris.- Specified by:
getStop
in interfaceAttitudeEphemerisFile.SatelliteAttitudeEphemeris<TimeStampedAngularCoordinates,OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment>
- Returns:
- ephemeris end date.
-
addNewSegment
public OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment addNewSegment(List<SpacecraftState> states, String interpolationMethod, int interpolationSamples, AngularDerivativesFilter availableDerivatives)
Injects pre-computed satellite states into this attitude ephemeris file object, returning the generatedOrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
that has been stored internally.- Parameters:
states
- a list ofSpacecraftState
that will comprise this new unitinterpolationMethod
- the interpolation method that should be used when processed by another systeminterpolationSamples
- the number of interpolation samples that should be used when processed by another systemavailableDerivatives
- derivatives to use for interpolation- Returns:
- the generated
OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
-
-