|
Spirograph Problem Set Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class has probably drifted from it's intent, and might be better named
Mover. Objects implementing this interface can receive position and velocity
information and generate a double
. This value is usually
inserted into the next iteration of a motion equations.
Copyright (C) 1998 Massachusetts Institute of Technology.
Copyright © 2002-2003 Franklin W. Olin College of Engineering.
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. |
Method Detail |
public double act(double pos, double vel, double otherPos, double otherVel, double maxPos)
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 |