| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
x_wrap X wrap |
|||
|
y_wrap Y wrap |
|||
|
Inherited from |
|||
|
|||
Create a grid object. node_factory -- Callable that takes the x and y coordinate of the node and returns a node object. x_wrap and y_wrap parameters should be one of (WRAP_REPEAT, WRAP_CLAMP, WRAP_ERROR). width -- Width of the grid. height -- Height of the grid. x_wrap -- How to handle out of range x coordinates y_wrap -- How to handle out of range y coordinates
|
Wraps an x coordinate. x -- X Coordinate |
Wraps a y coordinate. y -- Y Coordinate. |
Retrieves a node from the grid. coord -- Coordinate to retrieve default -- Default value to use if coord is out of range |
|
|||
x_wrapX wrap
|
y_wrapY wrap
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Wed Jul 04 22:10:13 2007 | http://epydoc.sourceforge.net |