| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package numdata :: Module geomlib :: Class AxialBounds2D |
|
CentredAxialBounds2D| Method Summary | |
|---|---|
__init__(self,
width,
height,
world)
| |
Returns string representation of self. | |
Adds points into the bounding area. | |
| boolean |
Checks if this sphere collides with the specified sphere. |
| boolean |
Checks if this sphere is fully contained within the specified bounding area. |
| boolean |
Checks if point lies within local bounds. |
| boolean |
Checks if point lies within world bounds. |
Applies encoded data to self. | |
Returns encoded representation of self. | |
Checks is specified area intersects with self. | |
| integer |
Checks if this sphere lies in the specified bounding area. |
| boolean |
Checks if the location of the sphere lies in the specified bounding area. |
Prepares bounds for autosizing | |
Sets bounds to zero sizes. | |
Creates a bounding area for an object of the specified width and height. | |
Sets location of bounds in world. | |
Translates location of spehere in world. | |
| Method Details |
|---|
__str__(self)
Returns string representation of self.
|
addPoint(self, x, y)Adds points into the bounding area. |
collidesWith(self, other)Checks if this sphere collides with the specified sphere. ReturnsTrue or False.
|
containedWithin(self, minX, minY, maxX, maxY)Checks if this sphere is fully contained within the specified bounding area. ReturnsTrue or False.
|
containsPoint(self, x, y)Checks if point lies within local bounds. ReturnsTrue or False.
|
containsPointInWorld(self, x, y)Checks if point lies within world bounds. ReturnsTrue or False.
|
decode(self, data)Applies encoded data to self. |
encode(self)Returns encoded representation of self. @rtype:dict |
intersects(self, minX, minY, maxX, maxY)Checks is specified area intersects with self. |
liesWithin(self, minX, minY, maxX, maxY)Checks if this sphere lies in the specified bounding area. Returns eithergeom_const.NO_INTERSECT or a value for
the side it intersects with.
|
locatedWithin(self, minX, minY, maxX, maxY)Checks if the location of the sphere lies in the specified bounding area. ReturnsTrue or False.
|
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. |
setLocation(self, x, y)Sets location of bounds in world. |
translate(self, x, y)Translates location of spehere in world. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 | http://epydoc.sf.net |