Package svs_simulation :: Package terrain :: Module linkpaths :: Class LinkPath
[show private | hide private]
[frames | no frames]

Class LinkPath


Defines a point of movement between two structures.
Method Summary
  __init__(self, startStructure, startNode, endStructure, endNode)
  __str__(self)
Returns string representation of self.
  decode(self, data)
Sets self to encoded values.
  encode(self)
Returns encoded description of self.
  isResolved(self)
Checks if structures are defined for path.

Method Details

__str__(self)
(Informal representation operator)

Returns string representation of self.

decode(self, data)

Sets self to encoded values.

NOTE: only the nodes of the path are encoded, these should always be resolved against the terrain to ensure they map to the correct structures.

@type data:dict

encode(self)

Returns encoded description of self.

NOTE: only the nodes of the path are encoded, these should always be resolved against the terrain to ensure they map to the correct structures.

@rtype:dict

isResolved(self)

Checks if structures are defined for path. Returns True or False.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:29 2005 http://epydoc.sf.net