public class TabulatedLofOffset extends Object implements BoundedAttitudeProvider
Instances of this class are guaranteed to be immutable.
LofOffset,
TabulatedProvider| Constructor and Description |
|---|
TabulatedLofOffset(Frame inertialFrame,
LOFType type,
List<? extends TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter)
Creates new instance.
|
TabulatedLofOffset(Frame inertialFrame,
LOFType type,
List<? extends TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter,
AbsoluteDate minDate,
AbsoluteDate maxDate)
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.
|
List<? extends TimeStampedAngularCoordinates> |
getTable()
Get an unmodifiable view of the tabulated attitudes.
|
public TabulatedLofOffset(Frame inertialFrame, LOFType type, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter)
This constructor uses the first and last point samples as the min and max dates.
inertialFrame - inertial frame with respect to which orbit should be computedtype - type of Local Orbital Frametable - tabulated attitudesn - number of attitude to use for interpolationfilter - filter for derivatives from the sample to use in interpolationpublic TabulatedLofOffset(Frame inertialFrame, LOFType type, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter, AbsoluteDate minDate, AbsoluteDate maxDate)
inertialFrame - inertial frame with respect to which orbit should be computedtype - type of Local Orbital Frametable - tabulated attitudesn - number of attitude to use for interpolationminDate - min date to usemaxDate - max date to usefilter - filter for derivatives from the sample to use in interpolationpublic List<? extends TimeStampedAngularCoordinates> getTable()
public 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.