Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class VelocityPath |
|
Path
--+
|
VelocityPath
VelocityPathTime
,
VelocityPathBounded
,
AccelerationPath
Method Summary | |
---|---|
__init__(self,
startLocation,
vx,
vy,
duration)
| |
__iter__(self)
(inherited from Path )
| |
accelerate(self,
ax,
ay)
| |
Return the direction from the previous location to the current location. | |
Return position along Path (inherited from Path )
| |
get_speed(self)
| |
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 )
| |
set_velocity(self,
vx,
vy)
| |
resume moving along path (inherited from Path )
|
Method Details |
---|
get_direction(self)Return the direction from the previous location to the current location.
|
next(self)return position
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:12 2003 | http://epydoc.sf.net |