|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.RelativeTabulatedAttitudeLeg
public class RelativeTabulatedAttitudeLeg
This class implements the tabulated attitude leg relative to a reference date.
WARNING : Double being less accurate than an AbsoluteDate, this class is less accurate
than the TabulatedAttitude
class.
Constructor Summary | |
---|---|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
Frame frame,
List<Pair<Double,AngularCoordinates>> angularCoordinates)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates associated with a double representing the time elapsed since the reference date. |
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
int nbInterpolationPoints,
Frame frame)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates associated with a double representing the time elapsed since the reference date and a number of points used for interpolation. |
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations associated with a double representing the time elapsed since the reference date. |
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame,
int nbInterpolationPoints)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations associated with a double representing the time elapsed since the reference date and a number of points used for interpolation. |
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. |
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 RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame) throws OrekitException
TabulatedAttitude
)
Rotations rates (set to 0's) will not be used for interpolation.
referenceDate
- reference dateorientations
- rotations. WARNING : these must be chronologically ordered.frame
- reference frame from which attitude is computed
OrekitException
- thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame, int nbInterpolationPoints) throws OrekitException
referenceDate
- reference dateorientations
- rotations. WARNING : these must be chronologically ordered.frame
- reference frame from which attitude is computednbInterpolationPoints
- nbInterpolationPoints number of points used for interpolation
OrekitException
- thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, Frame frame, List<Pair<Double,AngularCoordinates>> angularCoordinates) throws OrekitException
TabulatedAttitude
)
referenceDate
- reference dateangularCoordinates
- angular coordinates. WARNING : these must be chronologically ordered.frame
- reference frame from which attitude is computed
OrekitException
- thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,AngularCoordinates>> angularCoordinates, int nbInterpolationPoints, Frame frame) throws OrekitException
referenceDate
- reference dateangularCoordinates
- angular coordinates WARNING : these must be chronologically ordered.frame
- reference frame from which attitude is computednbInterpolationPoints
- nbInterpolationPoints number of points used for interpolation
OrekitException
- thrown if there is not enough data for Hermite interpolationMethod Detail |
---|
public AbsoluteDateInterval getTimeInterval() throws OrekitException
AttitudeLeg
getTimeInterval
in interface AttitudeLeg
OrekitException
- if the time interval is not computed (for a slew)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 |