|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.attitudes.TabulatedAttitude
public final class TabulatedAttitude
This class implements the tabulated attitude leg.
AttitudeLeg,
Serialized Form| Field Summary | |
|---|---|
static int |
DEFAULT_INTERP_ORDER
Default number of points used for interpolation. |
| Constructor Summary | |
|---|---|
TabulatedAttitude(Collection<Attitude> inAttitudes,
RotationInterpolator inInterpolator)
Deprecated. since 3.1 (use TabulatedAttitude(List) or TabulatedAttitude(List, int) |
|
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 |
|---|
@Deprecated
public TabulatedAttitude(Collection<Attitude> inAttitudes,
RotationInterpolator inInterpolator)
throws OrekitException
TabulatedAttitude(List) or TabulatedAttitude(List, int)
inAttitudes - the list of attitudesinInterpolator - the interpolator to be used in attitudes computations
OrekitException - cannot happen with this constructor
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 interpolating
public 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 interpolating| Method Detail |
|---|
public AbsoluteDateInterval getTimeInterval()
getTimeInterval in interface AttitudeLeg
public Attitude getAttitude(PVCoordinatesProvider pvProvider,
AbsoluteDate date,
Frame inFrame)
throws OrekitException
getAttitude in interface AttitudeProviderpvProvider - local position-velocity provider around current datedate - current dateinFrame - reference frame from which attitude is computed
OrekitException - if attitude cannot be computed
public 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 AttitudeProviderorbit - current orbit
OrekitException - if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation in interface AttitudeProvidercomputeSpinDerivatives - true if spin derivatives should be computed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||