edu.cmu.sun.interpolators
Class Interpolator1D

java.lang.Object
  extended by edu.cmu.sun.interpolators.Interpolator1D
Direct Known Subclasses:
LinearInterpolator1D, SmoothInterpolator1D

public abstract class Interpolator1D
extends java.lang.Object

Absctrat class to define an one dimensional interpolator that will travel between the from value and the two value. Other interpolators may include other fields such as ease in and ease out.

Author:
Braden Kowitz

Field Summary
protected  float from
           
protected  float to
           
 
Constructor Summary
Interpolator1D(float from, float to)
           
 
Method Summary
abstract  float get(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

protected float from

to

protected float to
Constructor Detail

Interpolator1D

public Interpolator1D(float from,
                      float to)
Method Detail

get

public abstract float get(float value)