hmi.elckerlyc.animationengine.procanimation
Class HermiteSplineJEP
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
hmi.elckerlyc.animationengine.procanimation.HermiteSplineJEP
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class HermiteSplineJEP
- extends org.nfunk.jep.function.PostfixMathCommand
JEP implementation of project.mathutils.HermiteSpline
- Author:
- welberge
| Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
|
Method Summary |
void |
run(Stack inStack)
Runs the hermite spline operation on the inStack. |
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spline
private HermiteSpline spline
HermiteSplineJEP
public HermiteSplineJEP()
- Constructor
run
public void run(Stack inStack)
throws org.nfunk.jep.ParseException
- Runs the hermite spline operation on the inStack. The parameters are
popped off the
inStack, and the interpolated value is pushed
back to the top of inStack.
- Specified by:
run in interface org.nfunk.jep.function.PostfixMathCommandI- Overrides:
run in class org.nfunk.jep.function.PostfixMathCommand
- Throws:
org.nfunk.jep.ParseException