|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutility.TrajectoryGenerator
public class TrajectoryGenerator
This class encapsulates a generator for a trajectory for a particle. Its primary service is provided via the getNextPoint() method.
| Constructor Summary | |
|---|---|
TrajectoryGenerator(int horizontalDimension,
int verticalDimension)
Construct an instance of a generator of a trajectory. |
|
| Method Summary | |
|---|---|
java.awt.Point |
getNextPoint()
This method returns the next point of this particle's trajectory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrajectoryGenerator(int horizontalDimension,
int verticalDimension)
horizontalDimension - a non-zero positive valueverticalDimension - a non-zero positive value| Method Detail |
|---|
public java.awt.Point getNextPoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||