|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orekit.attitudes.AbstractSlew
public abstract class AbstractSlew
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 FormField Summary | |
---|---|
protected boolean |
computed
True if the slew has already been computed. |
protected PVCoordinatesProvider |
currentProvider
The PV coordinates provider that has been used to compute the maneuver. |
protected AttitudeProvider |
fLaw
The attitude law after the slew. |
protected AttitudeProvider |
iLaw
The attitude law before the slew. |
protected AbsoluteDateInterval |
intervalOfValidity
Interval of validity of the maneuver (with closed endpoints). |
Constructor Summary | |
---|---|
AbstractSlew(AttitudeProvider initialLaw,
AttitudeProvider finalLaw,
AbsoluteDate initialDate,
AbsoluteDate finalDate)
Builds a slew when its interval of validity is known. |
Method Summary | |
---|---|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state. |
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state. |
double |
getDuration()
|
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.Slew |
---|
compute, getAttitude |
Methods inherited from interface org.orekit.attitudes.AttitudeProvider |
---|
setSpinDerivativesComputation |
Field Detail |
---|
protected final AttitudeProvider iLaw
protected final AttitudeProvider fLaw
protected AbsoluteDateInterval intervalOfValidity
protected boolean computed
protected PVCoordinatesProvider currentProvider
Constructor Detail |
---|
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 validityMethod Detail |
---|
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
AttitudeProvider
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed
OrekitException
- if attitude cannot be computedpublic Attitude getAttitude(Orbit orbit) throws OrekitException
getAttitude
in interface AttitudeProvider
orbit
- current orbit
OrekitException
- if attitude cannot be computedpublic final AbsoluteDateInterval getTimeInterval() throws OrekitException
AttitudeLeg
getTimeInterval
in interface AttitudeLeg
OrekitException
- if the time interval is not computed (for a slew)public final double getDuration() throws OrekitException
OrekitException
- if the time interval is not computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |