Class MaxGapInterpolationGrid

  • All Implemented Interfaces:
    InterpolationGrid

    public class MaxGapInterpolationGrid
    extends Object
    implements InterpolationGrid
    Interpolation grid where points obey a maximum time gap.

    The grid is adapted to the step considered, meaning that for short steps, the grid will have numerous points.

    Since:
    7.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • MaxGapInterpolationGrid

        public MaxGapInterpolationGrid​(double maxGap)
        Constructor.
        Parameters:
        maxGap - maximum time gap between interpolation points
    • Method Detail

      • getGridPoints

        public double[] getGridPoints​(double stepStart,
                                      double stepEnd)
        Get grid points that are within the current step.

        The step is defined by its start and its end time.

        Specified by:
        getGridPoints in interface InterpolationGrid
        Parameters:
        stepStart - start of the step
        stepEnd - end of the step
        Returns:
        time points between start and end