hmi.elckerlyc.animationengine.procanimation
Class HermiteSplineJEP

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by 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

Field Summary
private  HermiteSpline spline
           
 
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand
curNumberOfParameters, numberOfParameters
 
Constructor Summary
HermiteSplineJEP()
          Constructor
 
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
 

Field Detail

spline

private HermiteSpline spline
Constructor Detail

HermiteSplineJEP

public HermiteSplineJEP()
Constructor

Method Detail

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