|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.TabulatedAttitude
public final class TabulatedAttitude
This class implements the tabulated attitude leg.
AttitudeLeg
,
Serialized FormField Summary | |
---|---|
static int |
DEFAULT_INTERP_ORDER
Default number of points used for interpolation. |
Constructor Summary | |
---|---|
TabulatedAttitude(List<Attitude> inAttitudes)
Constructor with default number N of points used for interpolation. |
|
TabulatedAttitude(List<Attitude> inAttitudes,
int nbInterpolationPoints)
Constructor with number of points used for interpolation |
Method Summary | |
---|---|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state. |
Attitude |
getAttitude(PVCoordinatesProvider pvProvider,
AbsoluteDate date,
Frame inFrame)
Compute the attitude corresponding to an orbital state. |
List<Attitude> |
getAttitudes()
Get the non-interpolated and rightly ordered attitudes. |
double[] |
getDurations()
Getter for durations. |
AbsoluteDateInterval |
getTimeInterval()
Return the time interval of validity |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation. |
TabulatedAttitude |
setTimeInterval(AbsoluteDateInterval interval)
Return a new law with the specified interval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_INTERP_ORDER
Constructor Detail |
---|
public TabulatedAttitude(List<Attitude> inAttitudes) throws OrekitException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.
OrekitException
- if the number of point is too small for interpolatingpublic TabulatedAttitude(List<Attitude> inAttitudes, int nbInterpolationPoints) throws OrekitException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints
- number of points used for interpolation
OrekitException
- if the number of point is too small for interpolatingMethod Detail |
---|
public AbsoluteDateInterval getTimeInterval()
getTimeInterval
in interface AttitudeLeg
public Attitude getAttitude(PVCoordinatesProvider pvProvider, AbsoluteDate date, Frame inFrame) throws OrekitException
getAttitude
in interface AttitudeProvider
pvProvider
- local position-velocity provider around current datedate
- current dateinFrame
- reference frame from which attitude is computed
OrekitException
- if attitude cannot be computedpublic TabulatedAttitude setTimeInterval(AbsoluteDateInterval interval) throws OrekitException
interval
- new interval of validity
OrekitException
- if a problem occurs during frames transformation in new first and last attitudes computationspublic List<Attitude> getAttitudes()
public double[] getDurations()
public Attitude getAttitude(Orbit orbit) throws OrekitException
getAttitude
in interface AttitudeProvider
orbit
- current orbit
OrekitException
- if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |