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 Details

    • AttitudeState

      public AttitudeState(AttitudeElementsType attitudeType, RateElementsType rateType, AbsoluteDate date, String[] fields, int first)
      Simple constructor.
      Parameters:
      attitudeType - type of the elements
      rateType - type of the elements rates (internally changed to RateElementsType.NONE if null)
      date - entry date
      fields - trajectory elements
      first - index of first field to consider
  • Method Details

    • getDate

      public AbsoluteDate getDate()
      Get the date.
      Specified by:
      getDate in interface TimeStamped
      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