|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.frames.transformations.InterpolatingTransformProvider
public class InterpolatingTransformProvider
Transform provider using thread-safe interpolation on transforms sample.
The interpolation is a polynomial Hermite interpolation, which can either use or ignore the derivatives provided by the raw provider. This means that simple raw providers that do not compute derivatives can be used, the derivatives will be added appropriately by the interpolation process.
TimeStampedCache,
Serialized Form| Constructor Summary | |
|---|---|
InterpolatingTransformProvider(TransformProvider rawProvider,
boolean useVelocities,
boolean useRotationRates,
AbsoluteDate earliest,
AbsoluteDate latest,
int gridPoints,
double step,
int maxSlots,
double maxSpan,
double newSlotInterval)
Simple constructor. |
|
InterpolatingTransformProvider(TransformProvider rawProvider,
boolean useVelocities,
boolean useRotationRates,
AbsoluteDate earliest,
AbsoluteDate latest,
int gridPoints,
double step,
int maxSlots,
double maxSpan,
double newSlotInterval,
boolean computeSpinDerivatives)
Simple constructor. |
|
| Method Summary | |
|---|---|
TransformProvider |
getRawProvider()
Get the underlying provider for raw (non-interpolated) transforms. |
Transform |
getTransform(AbsoluteDate date)
Get the Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
boolean computeSpinDerivatives)
Get the Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
FramesConfiguration config)
Get the Transform corresponding to specified date. |
Transform |
getTransform(AbsoluteDate date,
FramesConfiguration config,
boolean computeSpinDerivatives)
Get the Transform corresponding to specified date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterpolatingTransformProvider(TransformProvider rawProvider,
boolean useVelocities,
boolean useRotationRates,
AbsoluteDate earliest,
AbsoluteDate latest,
int gridPoints,
double step,
int maxSlots,
double maxSpan,
double newSlotInterval)
rawProvider - provider for raw (non-interpolated) transformsuseVelocities - if true, use sample transforms velocities,
otherwise ignore them and use only positionsuseRotationRates - if true, use sample points rotation rates,
otherwise ignore them and use only rotationsearliest - earliest supported datelatest - latest supported dategridPoints - number of interpolation grid pointsstep - grid points time stepmaxSlots - maximum number of independent cached time slots
in the time-stamped cachemaxSpan - maximum duration span in seconds of one slot
in the time-stamped cachenewSlotInterval - time interval above which a new slot is created
in the time-stamped cache
public InterpolatingTransformProvider(TransformProvider rawProvider,
boolean useVelocities,
boolean useRotationRates,
AbsoluteDate earliest,
AbsoluteDate latest,
int gridPoints,
double step,
int maxSlots,
double maxSpan,
double newSlotInterval,
boolean computeSpinDerivatives)
rawProvider - provider for raw (non-interpolated) transformsuseVelocities - if true, use sample transforms velocities,
otherwise ignore them and use only positionsuseRotationRates - if true, use sample points rotation rates,
otherwise ignore them and use only rotationsearliest - earliest supported datelatest - latest supported dategridPoints - number of interpolation grid pointsstep - grid points time stepmaxSlots - maximum number of independent cached time slots
in the time-stamped cachemaxSpan - maximum duration span in seconds of one slot
in the time-stamped cachenewSlotInterval - time interval above which a new slot is createdcomputeSpinDerivatives - spin derivatives are computed : true, or not : false
in the time-stamped cache| Method Detail |
|---|
public TransformProvider getRawProvider()
public Transform getTransform(AbsoluteDate date)
throws OrekitException
Transform corresponding to specified date.
Warning: spin derivative is not computed.
getTransform in interface TransformProviderdate - current date
OrekitException - if transform cannot be computed at given date
public Transform getTransform(AbsoluteDate date,
FramesConfiguration config)
throws OrekitException
Transform corresponding to specified date.
Warning: spin derivative is not computed.
getTransform in interface TransformProviderdate - current dateconfig - frames configuration to use
OrekitException - if transform cannot be computed at given date
public Transform getTransform(AbsoluteDate date,
boolean computeSpinDerivatives)
throws OrekitException
Transform corresponding to specified date.
getTransform in interface TransformProviderdate - current datecomputeSpinDerivatives - true if spin derivatives should be computed. If not, spin derivative is set to null
OrekitException - if transform cannot be computed at given date
public Transform getTransform(AbsoluteDate date,
FramesConfiguration config,
boolean computeSpinDerivatives)
throws OrekitException
Transform corresponding to specified date.
getTransform in interface TransformProviderdate - current dateconfig - frames configuration to usecomputeSpinDerivatives - true if spin derivatives should be computed. If not, spin derivative is set to null
OrekitException - if transform cannot be computed at given date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||