|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.RelativeTabulatedAttitudeLaw
public class RelativeTabulatedAttitudeLaw
This class represents a relative tabulated attitude law version "attitudeLeg", with an interval of validity
(whose borders are closed points) and attitude laws outside this interval of validity, which can be of two
types : a ConstantAttitudeLaw
, or an ExtrapolatedAttitudeLaw (private class)
Nested Class Summary | |
---|---|
static class |
RelativeTabulatedAttitudeLaw.AroundAttitudeType
Enumeration of the existing constraint types |
Constructor Summary | |
---|---|
RelativeTabulatedAttitudeLaw(AbsoluteDate refDate,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
Frame frame,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter)
Create a RelativeTabulatedAttitudeLaw object with list of Angular Coordinates (during the interval of validity), a law before the interval and a law after the interval. |
|
RelativeTabulatedAttitudeLaw(Frame frame,
AbsoluteDate refDate,
List<Pair<Double,Rotation>> orientations,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter)
Create a RelativeTabulatedAttitudeLaw object with list of rotations (during the interval of validity), a law before the interval and a law after the interval. |
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. |
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 RelativeTabulatedAttitudeLaw(Frame frame, AbsoluteDate refDate, List<Pair<Double,Rotation>> orientations, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter) throws OrekitException
refDate
- reference dateorientations
- List of rotationsframe
- reference framelawBefore
- Attitude law used before the reference datelawAfter
- Attitude law used after the date corresponding to the last attitude
OrekitException
- if not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLaw(AbsoluteDate refDate, List<Pair<Double,AngularCoordinates>> angularCoordinates, Frame frame, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter) throws OrekitException
refDate
- reference dateangularCoordinates
- List of angular coordinatesframe
- reference framelawBefore
- Attitude law used before the reference datelawAfter
- Attitude law used after the date corresponding to the last attitude
OrekitException
- if not enough data for Hermite interpolationMethod Detail |
---|
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
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
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 |