Class AttitudeState
java.lang.Object
org.orekit.files.ccsds.ndm.adm.acm.AttitudeState
- All Implemented Interfaces:
TimeStamped
Attitude state entry.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionAttitudeState(AttitudeElementsType attitudeType, RateElementsType rateType, AbsoluteDate date, String[] fields, int first) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the type of the elements.Get which derivatives of position are available in this state.getDate()Get the date.double[]Get attitude elements.Get the type of the elements rates.toAngular(RotationOrder order) Convert to angular coordinates.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
Constructor Details
-
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 Details
-
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
Get the type of the elements.- Returns:
- type of the elements
-
getRateElementsType
Get the type of the elements rates.- Returns:
- type of the elements rates
-
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
Convert to angular coordinates.- Parameters:
order- rotation order for Euler angles- Returns:
- angular coordinates
-