| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package network :: Module terrainproxies :: Class TerrainProxy |
|
GenericTerrainObject--+ |Terrain--+ | TerrainProxy
| Method Summary | |
|---|---|
__init__(self)
| |
Creates terrain from encoded data. | |
Creates partition from encoded data. | |
| dict |
Returns encoded model of self. |
| Inherited from Terrain | |
Adds linkpath to terrain, if the path has not been mapped to specific structures it attempts to do this. | |
Adds a new partition to the terrain. | |
Adds a path to the terrain. | |
Adds sim object to partition with specified name. | |
Adds structure to partition with specified name. | |
Adds and returns new node to high-level navigation graph. | |
Create a new partition to the terrain with the speficied name. | |
Creates structure to partition with specified name and eother wall or floorplane components. | |
Creates structure in specified partition with specified name and either wall or floorplane components. | |
Creates partitions from encoded data. | |
Creates paths from encoded data. | |
Returns simplified encoding of self, suitable for use by proxies. | |
| dict |
Returns encoded model of partitions. |
| dict |
Returns encoded model of paths. |
Returns a list of all resolved linkpaths for terrain. | |
Returns a list of all paths for terrain. | |
Returns maximum x coordinate from bounds. | |
Returns maximum y coordinate from bounds. | |
Returns minimum x coordinate from bounds. | |
Returns minimum y coordinate from bounds. | |
Returns partition mathcing specified name. | |
Returns partition containing specified coordinates. | |
Retrieves path from path store. | |
Returns the structure within which the specified coordinates are located. | |
Creates edges between list of navigation nodes. | |
Ensures that all necessary data is setup for terrain, makes sure linkpaths are resilved, etc. | |
Removes node from high-level navigation graph. | |
Checks the bounds of the terrain match its contents. | |
Returns maximum x coordinate from bounds. | |
Returns maximum y coordinate from bounds. | |
Sets minimum x coordinate from bounds. | |
Returns minimum y coordinate from bounds. | |
| |
| Inherited from GenericTerrainObject | |
Adds entity to terrain object. | |
Adds new graph to object. | |
Tests if specified coordinates are present in area. | |
Returns named graph. | |
Adds entity to terrain object. | |
Updates self in response to simulation time. | |
| Method Details |
|---|
decode(self, data, lod=0)Creates terrain from encoded data. @type data:dict |
decodePartition(self, data)Creates partition from encoded data. @type data:dict |
encode(self)Returns encoded model of self.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:27 2005 | http://epydoc.sf.net |