Package svs_simulation :: Package terrain :: Module structures :: Class FloorPlane
[show private | hide private]
[frames | no frames]

Class FloorPlane

Plane --+
        |
       FloorPlane


Horizontal structural component that agents may move over.
Method Summary
  __init__(self)
  containsNavPoint(self, x, y)
Tests if specified coordinates are present in plane.
  createInnerBoundary(self, margin)
Creates inner boundary for collisions.
  decode(self, data)
Applies encoded representation to self.
  encode(self)
Returns encoded representation of self.
  getInnerVertices(self)
Returns a list of vertices for the inner space of the plane.
  setOutline(self, vertices)
Defines outline of plane.
  setup(self, movementcost)
    Inherited from Plane
  containsPoint(self, x, y)
Tests if specified coordinates are present in plane.
  getVertices(self)
Returns a list of vertices for the outline of the plane.
  withinBounds(self, x, y)
Tests if specified coordinates are within the bounds of the plane.

Method Details

containsNavPoint(self, x, y)

Tests if specified coordinates are present in plane.

createInnerBoundary(self, margin)

Creates inner boundary for collisions.

decode(self, data)

Applies encoded representation to self.
Overrides:
svs_simulation.terrain.structures.Plane.decode

encode(self)

Returns encoded representation of self.
Overrides:
svs_simulation.terrain.structures.Plane.encode

getInnerVertices(self)

Returns a list of vertices for the inner space of the plane.

setOutline(self, vertices)

Defines outline of plane.

If margin is defined creates an inner zone shrunk to accommodate collision margin.
Parameters:
vertices
           (type=array)
Overrides:
svs_simulation.terrain.structures.Plane.setOutline

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