Package org.orekit.files.general
Class OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
- java.lang.Object
-
- org.orekit.files.general.OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment
-
- All Implemented Interfaces:
AttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Enclosing class:
- OrekitAttitudeEphemerisFile
public static class OrekitAttitudeEphemerisFile.OrekitAttitudeEphemerisSegment extends Object implements AttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
Ephemeris segment.
-
-
Constructor Summary
Constructors Constructor Description OrekitAttitudeEphemerisSegment(List<TimeStampedAngularCoordinates> attitudeDataLines, String interpolationMethod, int interpolationSamples, Frame referenceFrame, AngularDerivativesFilter availableDerivatives)
Constructor for OrekitAttitudeEphemerisSegment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TimeStampedAngularCoordinates>
getAngularCoordinates()
Get an unmodifiable list of attitude data lines.BoundedAttitudeProvider
getAttitudeProvider()
Get the attitude provider for this attitude ephemeris segment.AngularDerivativesFilter
getAvailableDerivatives()
Get which derivatives of angular data are available in this attitude ephemeris segment.String
getInterpolationMethod()
Get the interpolation method to be used.int
getInterpolationSamples()
Get the number of samples to use in interpolation.Frame
getReferenceFrame()
Get the reference frame from which attitude is defined.AbsoluteDate
getStart()
Get the start date of this ephemeris segment.AbsoluteDate
getStop()
Get the end date of this ephemeris segment.
-
-
-
Constructor Detail
-
OrekitAttitudeEphemerisSegment
public OrekitAttitudeEphemerisSegment(List<TimeStampedAngularCoordinates> attitudeDataLines, String interpolationMethod, int interpolationSamples, Frame referenceFrame, AngularDerivativesFilter availableDerivatives)
Constructor for OrekitAttitudeEphemerisSegment.- Parameters:
attitudeDataLines
- attitude data lines for this segment.interpolationMethod
- the interpolation method to use.interpolationSamples
- the number of samples to use during interpolation.referenceFrame
- reference frame from which the attitude is definedavailableDerivatives
- derivatives to use for interpolation
-
-
Method Detail
-
getAngularCoordinates
public List<TimeStampedAngularCoordinates> getAngularCoordinates()
Get an unmodifiable list of attitude data lines.- Specified by:
getAngularCoordinates
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- a list of attitude data
-
getReferenceFrame
public Frame getReferenceFrame()
Get the reference frame from which attitude is defined.- Specified by:
getReferenceFrame
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- the reference frame from which attitude is defined
-
getStart
public AbsoluteDate getStart()
Get the start date of this ephemeris segment.- Specified by:
getStart
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- ephemeris segment start date.
-
getStop
public AbsoluteDate getStop()
Get the end date of this ephemeris segment.- Specified by:
getStop
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- ephemeris segment end date.
-
getInterpolationMethod
public String getInterpolationMethod()
Get the interpolation method to be used.- Specified by:
getInterpolationMethod
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- the interpolation method
-
getInterpolationSamples
public int getInterpolationSamples()
Get the number of samples to use in interpolation.- Specified by:
getInterpolationSamples
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- the number of points to use for interpolation.
-
getAvailableDerivatives
public AngularDerivativesFilter getAvailableDerivatives()
Get which derivatives of angular data are available in this attitude ephemeris segment.- Specified by:
getAvailableDerivatives
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- a value indicating if the file contains rotation and/or rotation rate and/or acceleration data.
-
getAttitudeProvider
public BoundedAttitudeProvider getAttitudeProvider()
Get the attitude provider for this attitude ephemeris segment.- Specified by:
getAttitudeProvider
in interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
- Returns:
- the attitude provider for this attitude ephemeris segment.
-
-