public class ShortPeriodicsInterpolatedCoefficient extends Object
Representation of a coefficient that need to be interpolated over time.
The short periodics coefficients can be interpolated for faster computation.
This class stores computed values of the coefficients through the method
addGridPoint(org.orekit.time.AbsoluteDate, double[])
and gives an interpolated result through the method
value(org.orekit.time.AbsoluteDate)
.
Constructor and Description |
---|
ShortPeriodicsInterpolatedCoefficient(int interpolationPoints)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addGridPoint(AbsoluteDate date,
double[] value)
Add a point to the interpolation grid.
|
void |
clearHistory()
Clear the recorded values from the interpolation grid.
|
double[] |
value(AbsoluteDate date)
Compute the value of the coefficient.
|
public ShortPeriodicsInterpolatedCoefficient(int interpolationPoints)
interpolationPoints
- number of points used in the interpolationpublic double[] value(AbsoluteDate date)
date
- date at which the coefficient should be computedpublic void clearHistory()
public void addGridPoint(AbsoluteDate date, double[] value)
date
- abscissa of the pointvalue
- value of the elementCopyright © 2002-2022 CS GROUP. All rights reserved.