public class TabulatedProvider extends Object implements BoundedAttitudeProvider
Instances of this class are guaranteed to be immutable.
TabulatedLofOffset| Constructor and Description |
|---|
TabulatedProvider(Frame referenceFrame,
List<? extends TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter)
Creates new instance.
|
TabulatedProvider(List<? extends TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter,
AbsoluteDate minDate,
AbsoluteDate maxDate,
AttitudeBuilder builder)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends CalculusFieldElement<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.
|
AbsoluteDate |
getMaxDate()
Get the last date of the range.
|
AbsoluteDate |
getMinDate()
Get the first date of the range.
|
public TabulatedProvider(Frame referenceFrame, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter)
This constructor uses the first and last point samples as the min and max dates.
referenceFrame - reference frame for tabulated attitudestable - tabulated attitudesn - number of attitude to use for interpolationfilter - filter for derivatives from the sample to use in interpolationTabulatedProvider(List, int, AngularDerivativesFilter, AbsoluteDate, AbsoluteDate, AttitudeBuilder)public TabulatedProvider(List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter, AbsoluteDate minDate, AbsoluteDate maxDate, AttitudeBuilder builder)
table - tabulated attitudesn - number of attitude to use for interpolationfilter - filter for derivatives from the sample to use in interpolationminDate - min date to usemaxDate - max date to usebuilder - builder to usepublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedpublic <T extends CalculusFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
getAttitude in interface AttitudeProviderT - type of the field elementspvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedpublic AbsoluteDate getMinDate()
getMinDate in interface BoundedAttitudeProviderpublic AbsoluteDate getMaxDate()
getMaxDate in interface BoundedAttitudeProviderCopyright © 2002-2021 CS GROUP. All rights reserved.