public class TabulatedProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
Constructor and Description |
---|
TabulatedProvider(Frame referenceFrame,
List<TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter)
Creates new instance.
|
TabulatedProvider(List<Attitude> table,
int n,
boolean useRotationRate)
Deprecated.
as of 7.0, replaced with
TabulatedProvider(Frame, List, int, AngularDerivativesFilter) |
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
@Deprecated public TabulatedProvider(List<Attitude> table, int n, boolean useRotationRate)
TabulatedProvider(Frame, List, int, AngularDerivativesFilter)
table
- tabulated attitudesn
- number of attitude to use for interpolationuseRotationRate
- if true, rotation rate from the tables are used in
the interpolation, otherwise rates present in the table are ignored
and rate is reconstructed from the rotation angles onlypublic TabulatedProvider(Frame referenceFrame, List<TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter)
referenceFrame
- reference frame for tabulated attitudestable
- tabulated attitudesn
- number of attitude to use for interpolationfilter
- filter for derivatives from the sample to use in interpolationpublic 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 computedOrekitException
- if attitude cannot be computedCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.