Package gaiasky.util.gaia
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attitude
getAttitude(java.util.Date date)
Returns the NSL37 attitude for the given date.java.lang.String
getCurrentAttitudeName()
-
-
-
Field Detail
-
instance
public static GaiaAttitudeServer instance
-
-
Method Detail
-
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()
-
-