Package svs_simulation :: Package numdata :: Module geomlib :: Class CentredAxialBounds2D
[show private | hide private]
[frames | no frames]

Class CentredAxialBounds2D

AxialBounds2D --+
                |
               CentredAxialBounds2D


Axial bounds that places its origin in the centre.
Method Summary
  __init__(self, width, height, world)
  addPoint(self, x, y)
Adds points into the bounding area.
  setLocation(self, x, y)
Sets location of bounds in world.
    Inherited from AxialBounds2D
  __str__(self)
Returns string representation of self.
boolean collidesWith(self, other)
Checks if this sphere collides with the specified sphere.
boolean containedWithin(self, minX, minY, maxX, maxY)
Checks if this sphere is fully contained within the specified bounding area.
boolean containsPoint(self, x, y)
Checks if point lies within local bounds.
boolean containsPointInWorld(self, x, y)
Checks if point lies within world bounds.
  decode(self, data)
Applies encoded data to self.
  encode(self)
Returns encoded representation of self.
  intersects(self, minX, minY, maxX, maxY)
Checks is specified area intersects with self.
integer liesWithin(self, minX, minY, maxX, maxY)
Checks if this sphere lies in the specified bounding area.
boolean locatedWithin(self, minX, minY, maxX, maxY)
Checks if the location of the sphere lies in the specified bounding area.
  prepareToAutosize(self)
Prepares bounds for autosizing
  reset(self)
Sets bounds to zero sizes.
  setDimensions(self, dimX, dimY)
Creates a bounding area for an object of the specified width and height.
  translate(self, x, y)
Translates location of spehere in world.

Method Details

addPoint(self, x, y)

Adds points into the bounding area.
Overrides:
svs_simulation.numdata.geomlib.AxialBounds2D.addPoint

setLocation(self, x, y)

Sets location of bounds in world.
Overrides:
svs_simulation.numdata.geomlib.AxialBounds2D.setLocation

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