Class AttitudeStateHistory
java.lang.Object
org.orekit.files.ccsds.ndm.adm.acm.AttitudeStateHistory
- All Implemented Interfaces:
AttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
public class AttitudeStateHistory
extends Object
implements AttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>
Attitude state history.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionAttitudeStateHistory(AttitudeStateHistoryMetadata metadata, List<AttitudeState> states) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet an unmodifiable list of attitude data lines.Get the attitude provider for this attitude ephemeris segment.Get the attitude states.Get which derivatives of angular data are available in this attitude ephemeris segment.Get the interpolation method to be used.intGet the number of samples to use in interpolation.Get metadata.Get the reference frame from which attitude is defined.getStart()Get the start date of this ephemeris segment.getStop()Get the end date of this ephemeris segment.
-
Constructor Details
-
AttitudeStateHistory
Simple constructor.- Parameters:
metadata- metadatastates- attitude states
-
-
Method Details
-
getMetadata
Get metadata.- Returns:
- metadata
-
getAttitudeStates
Get the attitude states.- Returns:
- attitude states
-
getReferenceFrame
Get the reference frame from which attitude is defined.- Specified by:
getReferenceFramein interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- the reference frame from which attitude is defined
-
getInterpolationSamples
public int getInterpolationSamples()Get the number of samples to use in interpolation.- Specified by:
getInterpolationSamplesin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- the number of points to use for interpolation.
-
getInterpolationMethod
Get the interpolation method to be used.- Specified by:
getInterpolationMethodin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- the interpolation method
-
getAvailableDerivatives
Get which derivatives of angular data are available in this attitude ephemeris segment.- Specified by:
getAvailableDerivativesin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- a value indicating if the file contains rotation and/or rotation rate and/or acceleration data.
-
getAttitudeProvider
Get the attitude provider for this attitude ephemeris segment.- Specified by:
getAttitudeProviderin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- the attitude provider for this attitude ephemeris segment.
-
getStart
Get the start date of this ephemeris segment.- Specified by:
getStartin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- ephemeris segment start date.
-
getStop
Get the end date of this ephemeris segment.- Specified by:
getStopin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- ephemeris segment end date.
-
getAngularCoordinates
Get an unmodifiable list of attitude data lines.- Specified by:
getAngularCoordinatesin interfaceAttitudeEphemerisFile.AttitudeEphemerisSegment<TimeStampedAngularCoordinates>- Returns:
- a list of attitude data
-