fr.cnes.sirius.patrius.guidance
Class GuidanceProfile

java.lang.Object
  extended by fr.cnes.sirius.patrius.guidance.GuidanceProfile
All Implemented Interfaces:
Serializable, AttitudeLeg, AttitudeProvider
Direct Known Subclasses:
AngularVelocitiesHarmonicProfile, AngularVelocitiesPolynomialProfile, QuaternionHarmonicProfile, QuaternionPolynomialProfile

public abstract class GuidanceProfile
extends Object
implements AttitudeLeg

Represents a guidance profile

Since:
1.3
Version:
$Id: GuidanceProfile.java 17585 2017-05-10 13:27:59Z bignon $
Author:
Rami Houdroge
See Also:
Serialized Form

Constructor Summary
GuidanceProfile(AbsoluteDateInterval timeInterval)
          Constructor
 
Method Summary
 void checkDate(AbsoluteDate userDate)
          Check date validity
 Attitude getAttitude(Orbit orbit)
          Compute the attitude corresponding to an orbital state.
 AbsoluteDateInterval getTimeInterval()
          Return the time interval of validity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitude, setSpinDerivativesComputation
 

Constructor Detail

GuidanceProfile

public GuidanceProfile(AbsoluteDateInterval timeInterval)
Constructor

Parameters:
timeInterval - interval of validity
Method Detail

getTimeInterval

public AbsoluteDateInterval getTimeInterval()
Description copied from interface: AttitudeLeg
Return the time interval of validity

Specified by:
getTimeInterval in interface AttitudeLeg
Returns:
time interval of validity

getAttitude

public Attitude getAttitude(Orbit orbit)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Specified by:
getAttitude in interface AttitudeProvider
Parameters:
orbit - current orbit
Returns:
attitude attitude on the current orbit
Throws:
OrekitException - if attitude cannot be computed

checkDate

public void checkDate(AbsoluteDate userDate)
               throws OrekitException
Check date validity

Parameters:
userDate - specified date
Throws:
OrekitException - if the user date is outside the interval


Copyright © 2017 CNES. All Rights Reserved.