Class AttitudeState
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.adm.acm.AttitudeState
-
- All Implemented Interfaces:
TimeStamped
public class AttitudeState extends Object implements TimeStamped
Attitude state entry.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AttitudeState(AttitudeElementsType attitudeType, RateElementsType rateType, AbsoluteDate date, String[] fields, int first)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttitudeElementsTypegetAttitudeType()Get the type of the elements.AngularDerivativesFiltergetAvailableDerivatives()Get which derivatives of position are available in this state.AbsoluteDategetDate()Get the date.double[]getElements()Get attitude elements.RateElementsTypegetRateElementsType()Get the type of the elements rates.TimeStampedAngularCoordinatestoAngular(RotationOrder order)Convert to angular coordinates.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
AttitudeState
public AttitudeState(AttitudeElementsType attitudeType, RateElementsType rateType, AbsoluteDate date, String[] fields, int first)
Simple constructor.- Parameters:
attitudeType- type of the elementsrateType- type of the elements rates (internally changed toRateElementsType.NONEif null)date- entry datefields- trajectory elementsfirst- index of first field to consider
-
-
Method Detail
-
getDate
public AbsoluteDate getDate()
Get the date.- Specified by:
getDatein interfaceTimeStamped- Returns:
- date attached to the object
-
getElements
public double[] getElements()
Get attitude elements.- Returns:
- attitude elements
-
getAttitudeType
public AttitudeElementsType getAttitudeType()
Get the type of the elements.- Returns:
- type of the elements
-
getRateElementsType
public RateElementsType getRateElementsType()
Get the type of the elements rates.- Returns:
- type of the elements rates
-
getAvailableDerivatives
public AngularDerivativesFilter getAvailableDerivatives()
Get which derivatives of position are available in this state.- Returns:
- a value indicating if the file contains rotation rate and/or acceleration
-
toAngular
public TimeStampedAngularCoordinates toAngular(RotationOrder order)
Convert to angular coordinates.- Parameters:
order- rotation order for Euler angles- Returns:
- angular coordinates
-
-