Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class FilePath |
|
Path
--+ |ListPath
--+ | FilePath
Set of points retrieved from a file.
Format of the file should be:
(x1, y1) (x2, y2) (x3, y3)
where x1, y1, x2, etc are integers. There are no special headers or footers in the file, just a long list of points, one per line.Method Summary | |
---|---|
__init__(self,
fileName,
duration)
| |
loadLocations(self,
file)
| |
Inherited from ListPath | |
return position | |
put path back to original state | |
Set number of times to go around path. | |
| |
Check if should continue looping. | |
Inherited from Path | |
| |
Return the direction from the previous location to the current location. | |
Return position along Path | |
return x component of position | |
return y component of position | |
true if path position is on main window | |
stop moving along path | |
Path will raise StopIteration after self.duration seconds | |
Set position and update positionOld | |
resume moving along path |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:19 2006 | http://epydoc.sf.net |