public class LinearInterpolation extends Interpolation
cyclic, max, min, stepCount, stepCounter
Constructor and Description |
---|
LinearInterpolation(double start,
double end,
int stepCount,
boolean cyclic)
Erzeugt einen neuen LinearInterpolator.
|
Modifier and Type | Method and Description |
---|---|
double |
nextValue()
Diese Methode wird von allen Unterklassen implementiert und gibt den nächsten interpolierten Wert zurück.
|
public LinearInterpolation(double start, double end, int stepCount, boolean cyclic)
start
- der Startwertend
- der EndwertstepCount
- die Anzahl der Schrittecyclic
- true, wenn Interpolation zyklisch von Neuem beginnen sollpublic double nextValue()
Interpolation
nextValue
in class Interpolation