Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class BrownianPath |
|
Path
--+
|
BrownianPath
Move in random directions
Moves random amount between + and - maxJump in both x and y directions.
Makes numSteps moves before raising EndPathLoop, or continuous moves if numSteps == 0.Method Summary | |
---|---|
__init__(self,
startLocation,
duration,
maxJump,
numSteps)
| |
__iter__(self)
(inherited from Path )
| |
Return the direction from the previous location to the current location. (inherited from Path )
| |
Return position along Path (inherited from Path )
| |
return x component of position (inherited from Path )
| |
return y component of position (inherited from Path )
| |
return position | |
true if path position is on main window (inherited from Path )
| |
stop moving along path (inherited from Path )
| |
put path back to original state (inherited from Path )
| |
Path will raise StopIteration after self.duration seconds (inherited from Path )
| |
Set position and update positionOld (inherited from Path )
| |
resume moving along path (inherited from Path )
|
Method Details |
---|
next(self)return position
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Jan 25 19:10:13 2004 | http://epydoc.sf.net |