public abstract class AbstractAttitudeProfile extends Object implements AttitudeProfile
AttitudeProfile
.Constructor and Description |
---|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval)
Constructor with a default value for its nature.
|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval,
String natureIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkDate(AbsoluteDate userDate)
Check date validity.
|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state.
|
String |
getNature()
Return the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Return the time interval of validity of the leg
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude, setSpinDerivativesComputation
public AbstractAttitudeProfile(AbsoluteDateInterval timeInterval, String natureIn)
timeInterval
- interval of profilenatureIn
- the nature of the slewpublic AbstractAttitudeProfile(AbsoluteDateInterval timeInterval)
timeInterval
- interval of validitypublic AbsoluteDateInterval getTimeInterval()
getTimeInterval
in interface Leg
public Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude
in interface AttitudeProvider
orbit
- current orbitPatriusException
- if attitude cannot be computedpublic void checkDate(AbsoluteDate userDate) throws PatriusException
userDate
- datePatriusException
- thrown if the user date is outside the intervalCopyright © 2019 CNES. All Rights Reserved.