RemoveOutdatedSamples
method in Coherence.Interpolation
Methods
public void RemoveOutdatedSamples(double time)
Removes outdated samples from the samples buffer. A sample is considered outdated if its timestamp is equal to or older than the given time. The number of samples left guarantees that both interpolation and extrapolation can happen.
Parameters
Type | Name | Description |
---|---|---|
double | time | The current time used to determine which samples are outdated. Usually InterpolationSettings.Time. |