public class TabulatedLofOffset extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
LofOffset
,
TabulatedProvider
,
Serialized FormConstructor and Description |
---|
TabulatedLofOffset(Frame inertialFrame,
LOFType type,
List<TimeStampedAngularCoordinates> table,
int n,
AngularDerivativesFilter filter)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
<T extends org.hipparchus.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.
|
List<TimeStampedAngularCoordinates> |
getTable()
Get an unmodifiable view of the tabulated attitudes.
|
public TabulatedLofOffset(Frame inertialFrame, LOFType type, List<TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter) throws OrekitException
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 interpolationOrekitException
- if inertialFrame is not a pseudo-inertial framepublic List<TimeStampedAngularCoordinates> getTable()
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 computedOrekitException
- if attitude cannot be computedpublic <T extends org.hipparchus.RealFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) throws OrekitException
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 computedOrekitException
- if attitude cannot be computedCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.