Spirograph Problem Set Javadocs

spirograph
Class Dummy

java.lang.Object
  extended byspirograph.Dummy
All Implemented Interfaces:
Accelerator

public class Dummy
extends java.lang.Object
implements Accelerator

The default accelerator.

Copyright © 1998 Massachusetts Institute of Technology.

Version:
$Id: Dummy.java,v 1.5 2004/02/09 20:55:03 gus Exp $
Author:
Luis Sarmenta, lfgs@cag.lcs.mit.edu, Henry Wong, henryw@mit.edu

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

Dummy

public Dummy()
Method Detail

act

public double act(double pos,
                  double vel,
                  double otherPos,
                  double otherVel,
                  double maxPos)
Description copied from interface: Accelerator
Calculate a new motion related value from position and velocity information. Usually this value represents, position, acceleration, or velocity.

Specified by:
act in interface Accelerator
Parameters:
pos - Current position on this axis
vel - Current velocity on this axis
otherPos - Current position on the other axis
otherVel - Current Velocity on the other axis
maxPos - The maximum position on this axis (+ or -)
Returns:
The new value

Spirograph Problem Set Javadocs