Package org.orekit.frames
Class ShiftingTransformProvider
- java.lang.Object
-
- org.orekit.frames.ShiftingTransformProvider
-
- All Implemented Interfaces:
Serializable
,TransformProvider
public class ShiftingTransformProvider extends Object implements 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:
GenericTimeStampedCache
,InterpolatingTransformProvider
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval)
Simple constructor.ShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, AbsoluteDate earliest, AbsoluteDate latest, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGridPoints()
Get the number of interpolation grid points.TransformProvider
getRawProvider()
Get the underlying provider for raw (non-interpolated) transforms.double
getStep()
Get the grid points time step.Transform
getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.<T extends org.hipparchus.RealFieldElement<T>>
FieldTransform<T>getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.
-
-
-
Constructor Detail
-
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 cache
maxSpan
- maximum duration span in seconds of one slot in thetime-stamped cache
newSlotInterval
- time interval above which a new slot is created in thetime-stamped cache
- Since:
- 9.1
-
ShiftingTransformProvider
@Deprecated public ShiftingTransformProvider(TransformProvider rawProvider, CartesianDerivativesFilter cFilter, AngularDerivativesFilter aFilter, AbsoluteDate earliest, AbsoluteDate latest, int gridPoints, double step, int maxSlots, double maxSpan, double newSlotInterval)
Deprecated.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 interpolationearliest
- earliest supported datelatest
- latest supported dategridPoints
- number of interpolation grid pointsstep
- grid points time stepmaxSlots
- maximum number of independent cached time slots in thetime-stamped cache
maxSpan
- maximum duration span in seconds of one slot in thetime-stamped cache
newSlotInterval
- time interval above which a new slot is created in thetime-stamped cache
-
-
Method Detail
-
getRawProvider
public TransformProvider 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
public Transform getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Parameters:
date
- current date- Returns:
- transform at specified date
-
getTransform
public <T extends org.hipparchus.RealFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the field elements- Parameters:
date
- current date- Returns:
- transform at specified date
-
-