|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cmu.sun.interpolators.Interpolator1D
edu.cmu.sun.interpolators.SmoothInterpolator1D
public class SmoothInterpolator1D
Similar to the linear interpolator, except that it smooths the interpolation using trig functions. (So it's relatively fast) Ideally, we'd use Bezier curves in the system, but we go with this because it's simple enough for now.
| Field Summary | |
|---|---|
(package private) float |
diff
|
| Fields inherited from class edu.cmu.sun.interpolators.Interpolator1D |
|---|
from, to |
| Constructor Summary | |
|---|---|
SmoothInterpolator1D(float from,
float to)
|
|
| Method Summary | |
|---|---|
float |
get(float value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
float diff
| Constructor Detail |
|---|
public SmoothInterpolator1D(float from,
float to)
| Method Detail |
|---|
public float get(float value)
get in class Interpolator1D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||