@Deprecated public abstract class AbstractSlew extends Object implements Slew
This abstract class is the basic implementation of the Slew interface.
It does not include the algorithm computing the maneuver, as this depends on the type of slew and thus is implemented
by the classes extending this abstract class.
A generic slew maneuver is represented by the following variables:
Slew,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected boolean |
computed
Deprecated.
True if the slew has already been computed.
|
protected AbsoluteDateInterval |
intervalOfValidity
Deprecated.
Interval of validity of the maneuver (with closed endpoints).
|
| Constructor and Description |
|---|
AbstractSlew(AttitudeProvider initialLaw,
AttitudeProvider finalLaw,
AbsoluteDate initialDate,
AbsoluteDate finalDate)
Deprecated.
Builds a slew when its interval of validity is known.
|
AbstractSlew(AttitudeProvider initialLaw,
AttitudeProvider finalLaw,
AbsoluteDate initialDate,
AbsoluteDate finalDate,
String natureIn)
Deprecated.
Builds a slew when its interval of validity is known.
|
| Modifier and Type | Method and Description |
|---|---|
Attitude |
getAttitude(Orbit orbit)
Deprecated.
Compute the attitude corresponding to an orbital state.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Deprecated.
Warning: provided
PVCoordinatesProvider is here not used. |
double |
getDuration()
Deprecated.
|
String |
getNature()
Deprecated.
Return the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Deprecated.
Return the time interval of validity of the leg
|
void |
truncate(AbsoluteDateInterval newIntervalOfValidityIn)
Deprecated.
Truncate the time interval of validity of the leg
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, getAttitudesetSpinDerivativesComputationtoPrettyStringprotected AbsoluteDateInterval intervalOfValidity
protected boolean computed
public AbstractSlew(AttitudeProvider initialLaw, AttitudeProvider finalLaw, AbsoluteDate initialDate, AbsoluteDate finalDate)
initialLaw - the AttitudeProvider representing the attitude law before the slewfinalLaw - the AttitudeProvider representing the attitude law after the slewinitialDate - the initial date of the interval of validityfinalDate - the final date of the interval of validitypublic AbstractSlew(AttitudeProvider initialLaw, AttitudeProvider finalLaw, AbsoluteDate initialDate, AbsoluteDate finalDate, String natureIn)
initialLaw - the AttitudeProvider representing the attitude law before the slewfinalLaw - the AttitudeProvider representing the attitude law after the slewinitialDate - the initial date of the interval of validityfinalDate - the final date of the interval of validitynatureIn - leg naturepublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
PVCoordinatesProvider is here not used.
Slew has been precomputed with Slew.compute(PVCoordinatesProvider) and associated
provider.
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computedpublic Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude in interface AttitudeProviderorbit - current orbitPatriusException - if attitude cannot be computedpublic final AbsoluteDateInterval getTimeInterval()
getTimeInterval in interface Legpublic void truncate(AbsoluteDateInterval newIntervalOfValidityIn) throws PatriusException
truncate in interface LegnewIntervalOfValidityIn - the new time intervalPatriusException - if the new time interval is not included in the current time intervalpublic final double getDuration()
throws PatriusException
PatriusException - if the time interval is not computedCopyright © 2020 CNES. All rights reserved.