public class FixedNumberInterpolationGrid extends Object implements InterpolationGrid
The grid is adapted to the step considered, meaning that for short steps, the grid will be dense, while for long steps the points will be far away one from each other
Constructor and Description |
---|
FixedNumberInterpolationGrid(int pointsPerStep)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getGridPoints(double stepStart,
double stepEnd)
Get grid points that are within the current step.
|
public FixedNumberInterpolationGrid(int pointsPerStep)
pointsPerStep
- number of points in the grid per steppublic double[] getGridPoints(double stepStart, double stepEnd)
The step is defined by its start and its end time.
getGridPoints
in interface InterpolationGrid
stepStart
- start of the stepstepEnd
- end of the stepCopyright © 2002-2020 CS Group. All rights reserved.