Class GaiaAttitudeServer

java.lang.Object
gaiasky.util.gaia.GaiaAttitudeServer

public class GaiaAttitudeServer
extends java.lang.Object
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.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static GaiaAttitudeServer instance  
  • Constructor Summary

    Constructors
    Constructor Description
    GaiaAttitudeServer​(java.lang.String folder)  
  • Method Summary

    Modifier and Type Method Description
    Attitude getAttitude​(java.util.Date date)
    Returns the NSL37 attitude for the given date.
    java.lang.String getCurrentAttitudeName()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GaiaAttitudeServer

      public GaiaAttitudeServer​(java.lang.String folder)
  • Method Details

    • getAttitude

      public Attitude getAttitude​(java.util.Date date)
      Returns the NSL37 attitude for the given date.
      Parameters:
      date - The date
      Returns:
      The attitude
    • getCurrentAttitudeName

      public java.lang.String getCurrentAttitudeName()