|
Spirograph Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspirograph.Dummy
The default accelerator.
Copyright © 1998 Massachusetts Institute of Technology.
Constructor Summary | |
Dummy()
|
Method Summary | |
double |
act(double pos,
double vel,
double otherPos,
double otherVel,
double maxPos)
Calculate a new motion related value from position and velocity information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dummy()
Method Detail |
public double act(double pos, double vel, double otherPos, double otherVel, double maxPos)
Accelerator
act
in interface Accelerator
pos
- Current position on this axisvel
- Current velocity on this axisotherPos
- Current position on the other axisotherVel
- Current Velocity on the other axismaxPos
- The maximum position on this axis (+ or -)
|
Spirograph Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |