|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.AttitudeLawLeg
public final class AttitudeLawLeg
This class represents an attitude law version "attitude", with an interval of validity (whose borders are closed points).
Constructor Summary | |
---|---|
AttitudeLawLeg(AttitudeLaw attitudeLaw,
AbsoluteDate initialDate,
AbsoluteDate finalDate)
Build an attitude law version "attitude". |
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. |
AttitudeLaw |
getAttitudeLaw()
Gets the attitude law provider associated to the current attitude leg. |
AbsoluteDateInterval |
getTimeInterval()
Return the time interval of validity |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttitudeLawLeg(AttitudeLaw attitudeLaw, AbsoluteDate initialDate, AbsoluteDate finalDate)
attitudeLaw
- : provider of the attitude lawinitialDate
- : start date of the interval of validityfinalDate
- : end date of the interval of validityMethod Detail |
---|
public AbsoluteDateInterval getTimeInterval()
AttitudeLeg
getTimeInterval
in interface AttitudeLeg
public AttitudeLaw getAttitudeLaw()
AttitudeLaw
of the current legpublic 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 void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws OrekitException
Spin derivatives computation applies to underlying law
.
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computed
OrekitException
- if spin derivatives can not be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |