public abstract class AbstractAttitudeProfile extends Object implements AttitudeProfile
AttitudeProfile
.Constructor and Description |
---|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval)
Constructor with a default value for its nature and spin delta-t.
|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval,
double spinDeltaT)
Constructor with a default value for its nature.
|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval,
String natureIn)
Constructor with a default value for its spin delta-t.
|
AbstractAttitudeProfile(AbsoluteDateInterval timeInterval,
String natureIn,
double spinDeltaT)
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.
|
double |
getSpinDeltaT()
Returns the delta-t used for spin computation by finite differences.
|
AbsoluteDateInterval |
getTimeInterval()
Return the time interval of validity of the leg
|
void |
truncate(AbsoluteDateInterval newInterval)
Truncate the time interval of validity of the leg
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude, setSpinDerivativesComputation
toPrettyString
public AbstractAttitudeProfile(AbsoluteDateInterval timeInterval, String natureIn)
timeInterval
- interval of profilenatureIn
- the nature of the slewpublic AbstractAttitudeProfile(AbsoluteDateInterval timeInterval)
timeInterval
- interval of validitypublic AbstractAttitudeProfile(AbsoluteDateInterval timeInterval, String natureIn, double spinDeltaT)
timeInterval
- interval of profilenatureIn
- the nature of the slewspinDeltaT
- delta-t used for spin computation by finite differencespublic AbstractAttitudeProfile(AbsoluteDateInterval timeInterval, double spinDeltaT)
timeInterval
- interval of validityspinDeltaT
- delta-t used for spin computation by finite differencespublic AbsoluteDateInterval getTimeInterval()
getTimeInterval
in interface Leg
public void truncate(AbsoluteDateInterval newInterval) throws PatriusException
truncate
in interface Leg
newInterval
- the new time intervalPatriusException
- if the new time interval is not included in the current time intervalpublic 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 intervalpublic String getNature()
public double getSpinDeltaT()
Copyright © 2021 CNES. All rights reserved.