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)
| |
__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 )
| |
loadLocations(self,
file)
| |
return position (inherited from ListPath )
| |
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 ListPath )
| |
Path will raise StopIteration after self.duration seconds (inherited from Path )
| |
Set number of times to go around path. (inherited from ListPath )
| |
Set position and update positionOld (inherited from Path )
| |
set_timePerPlace(self,
duration)
(inherited from ListPath )
| |
resume moving along path (inherited from Path )
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:12 2003 | http://epydoc.sf.net |