Class CachedNormalizedSphericalHarmonicsProvider

    • Constructor Detail

      • CachedNormalizedSphericalHarmonicsProvider

        public CachedNormalizedSphericalHarmonicsProvider​(NormalizedSphericalHarmonicsProvider rawProvider,
                                                          double step,
                                                          int nbPoints,
                                                          int maxSlots,
                                                          double maxSpan,
                                                          double newSlotInterval)
        Simple constructor.
        Parameters:
        rawProvider - underlying raw provider
        step - time step between sample points for interpolation
        nbPoints - number of points to use for interpolation, must be at least 2
        maxSlots - maximum number of independent cached time slots
        maxSpan - maximum duration span in seconds of one slot (can be set to Double.POSITIVE_INFINITY if desired)
        newSlotInterval - time interval above which a new slot is created instead of extending an existing one