Package org.orekit.attitudes
Class TabulatedLofOffset
java.lang.Object
org.orekit.attitudes.TabulatedLofOffset
- All Implemented Interfaces:
AttitudeProvider,AttitudeRotationModel,BoundedAttitudeProvider,EventDetectorsProvider,ParameterDriversProvider
This class handles an attitude provider interpolating from a predefined table
containing offsets from a Local Orbital Frame.
Instances of this class are guaranteed to be immutable.
- Since:
- 7.1
- Author:
- Luc Maisonobe
- See Also:
-
Field Summary
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Constructor Summary
ConstructorsConstructorDescriptionTabulatedLofOffset(Frame inertialFrame, LOF lof, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter) Creates new instance.TabulatedLofOffset(Frame inertialFrame, LOF lof, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter, AbsoluteDate minDate, AbsoluteDate maxDate) Creates new instance. -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) Compute the attitude corresponding to an orbital state.getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) Compute the attitude corresponding to an orbital state.Get the last date of the range.Get the first date of the range.List<? extends TimeStampedAngularCoordinates> getTable()Get an unmodifiable view of the tabulated attitudes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectors, getParametersDriversMethods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectorsMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Constructor Details
-
TabulatedLofOffset
public TabulatedLofOffset(Frame inertialFrame, LOF lof, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter) Creates new instance.This constructor uses the first and last point samples as the min and max dates.
- Parameters:
inertialFrame- inertial frame with respect to which orbit should be computedlof- local orbital frametable- tabulated attitudesn- number of attitude to use for interpolationfilter- filter for derivatives from the sample to use in interpolation
-
TabulatedLofOffset
public TabulatedLofOffset(Frame inertialFrame, LOF lof, List<? extends TimeStampedAngularCoordinates> table, int n, AngularDerivativesFilter filter, AbsoluteDate minDate, AbsoluteDate maxDate) Creates new instance.- Parameters:
inertialFrame- inertial frame with respect to which orbit should be computedlof- local orbital frametable- 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 use- Since:
- 11.0
-
-
Method Details
-
getTable
Get an unmodifiable view of the tabulated attitudes.- Returns:
- unmodifiable view of the tabulated attitudes
-
getAttitude
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitudein interfaceAttitudeProvider- Parameters:
pvProv- local position-velocity provider around current datedate- current dateframe- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
getAttitude
public <T extends CalculusFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) Compute the attitude corresponding to an orbital state.- Specified by:
getAttitudein interfaceAttitudeProvider- Type Parameters:
T- type of the field elements- Parameters:
pvProv- local position-velocity provider around current datedate- current dateframe- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
getMinDate
Get the first date of the range.- Specified by:
getMinDatein interfaceBoundedAttitudeProvider- Returns:
- the first date of the range
-
getMaxDate
Get the last date of the range.- Specified by:
getMaxDatein interfaceBoundedAttitudeProvider- Returns:
- the last date of the range
-