Class GaiaAttitudeServer

java.lang.Object
gaiasky.util.gaia.GaiaAttitudeServer
All Implemented Interfaces:
IAttitudeServer

public class GaiaAttitudeServer extends Object implements IAttitudeServer
Provides caching of the last Nsl37 attitude requested. This allows for calculating the attitude only once in each time step and using it in several points in the processing.
  • Constructor Details

    • GaiaAttitudeServer

      public GaiaAttitudeServer(String folder)
  • Method Details

    • getAttitude

      public IAttitude getAttitude(Date date)
      Returns the NSL37 attitude for the given date.
      Specified by:
      getAttitude in interface IAttitudeServer
      Parameters:
      date - The date
      Returns:
      The attitude
    • getCurrentAttitudeName

      public String getCurrentAttitudeName()