Package org.orekit.frames
Class ShiftingTransformProvider
java.lang.Object
org.orekit.frames.ShiftingTransformProvider
- All Implemented Interfaces:
TransformProvider
Transform provider using thread-safe shifts on transforms sample.
The shifts take derivatives into account, up to user specified order.
- Since:
- 7.1
- Author:
- Luc Maisonobe
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of interpolation grid points.Get the underlying provider for raw (non-interpolated) transforms.Get a transform for only rotations and translations on the specified date.<T extends CalculusFieldElement<T>>
FieldStaticTransform<T> getStaticTransform(FieldAbsoluteDate<T> date) Get a transform for only rotations and translations on the specified date.doublegetStep()Get the grid points time step.getTransform(AbsoluteDate date) Get theTransformcorresponding to specified date.<T extends CalculusFieldElement<T>>
FieldTransform<T> getTransform(FieldAbsoluteDate<T> date) Get theFieldTransformcorresponding to specified date.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.frames.TransformProvider
getKinematicTransform, getKinematicTransform
-
Constructor Details
-
ShiftingTransformProvider
public ShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval) Simple constructor.- Parameters:
rawProvider- provider for raw (non-interpolated) transformscFilter- filter for derivatives from the sample to use in interpolationaFilter- filter for derivatives from the sample to use in interpolationgridPoints- number of interpolation grid pointsstep- grid points time stepmaxSlots- maximum number of independent cached time slots in thetime-stamped cachemaxSpan- maximum duration span in seconds of one slot in thetime-stamped cachenewSlotInterval- time interval above which a new slot is created in thetime-stamped cache- Since:
- 9.1
-
-
Method Details
-
getRawProvider
Get the underlying provider for raw (non-interpolated) transforms.- Returns:
- provider for raw (non-interpolated) transforms
-
getGridPoints
public int getGridPoints()Get the number of interpolation grid points.- Returns:
- number of interpolation grid points
-
getStep
public double getStep()Get the grid points time step.- Returns:
- grid points time step
-
getTransform
Get theTransformcorresponding to specified date.- Specified by:
getTransformin interfaceTransformProvider- Parameters:
date- current date- Returns:
- transform at specified date
-
getStaticTransform
Get a transform for only rotations and translations on the specified date.The default implementation calls
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getStaticTransformin interfaceTransformProvider- Parameters:
date- current date.- Returns:
- the static transform.
-
getTransform
public <T extends CalculusFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date) Get theFieldTransformcorresponding to specified date.- Specified by:
getTransformin interfaceTransformProvider- Type Parameters:
T- type of the field elements- Parameters:
date- current date- Returns:
- transform at specified date
-
getStaticTransform
public <T extends CalculusFieldElement<T>> FieldStaticTransform<T> getStaticTransform(FieldAbsoluteDate<T> date) Get a transform for only rotations and translations on the specified date.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getStaticTransformin interfaceTransformProvider- Type Parameters:
T- type of the elements- Parameters:
date- current date.- Returns:
- the static transform.
-