public class TabulatedProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
TabulatedLofOffset
Constructor and Description |
---|
TabulatedProvider(Frame referenceFrame,
List<TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
<T extends RealFieldElement<T>> |
getAttitude(FieldPVCoordinatesProvider<T> pvProv,
FieldAbsoluteDate<T> date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
public 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)
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedpublic <T extends RealFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
getAttitude
in interface AttitudeProvider
T
- type of the field elementspvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedCopyright © 2002-2020 CS GROUP. All rights reserved.