Go to the source code of this file.
Classes | |
class | enhanced_grid.RandomQueue |
A class that works just like a queue or a stack, except that a randomly selected element is returned. More... | |
class | enhanced_grid.PrincipleContainer |
Sub-classes of this container can be used directly. More... | |
class | enhanced_grid.AuxiliaryContainer |
Sub-classes of this container is used as windows by a PrincipleContainer, and should not be used directly! More... | |
class | enhanced_grid.Container |
Abstract super class of all grid-like containers. More... | |
class | enhanced_grid.Container1D |
Class that implements __str__ and __iter__. More... | |
class | enhanced_grid.Container2D |
Class that implements __str__ and __iter__. More... | |
class | enhanced_grid.Container3D |
Class that implements __str__ and __iter__. More... | |
class | enhanced_grid.GridWindow1D |
class | enhanced_grid.Grid1D |
Class that represent a 2D grid, with enhanced slicing notation. More... | |
class | enhanced_grid.GridRow2D |
class | enhanced_grid.GridCol2D |
class | enhanced_grid.GridWindow2D |
class | enhanced_grid.Grid2D |
Class that represent a 2D grid, with enhanced slicing notation. More... | |
class | enhanced_grid.GridBar3D |
class | enhanced_grid.GridCol3D |
class | enhanced_grid.GridRow3D |
class | enhanced_grid.GridSliceXY |
class | enhanced_grid.GridSliceXZ |
class | enhanced_grid.GridSliceYZ |
class | enhanced_grid.GridWindow3D |
class | enhanced_grid.Grid3D |
Class that represent a 3D grid, with enhanced slicing notation. More... | |
class | enhanced_grid.ListGrid3D |
class | enhanced_grid.ListGrid2D |
Packages | |
package | enhanced_grid |
Contains 2D and 3D Grid containers that supports extended slicing syntax. | |
Functions | |
def | enhanced_grid.signum |
Class that represents a 2D array. | |
def | enhanced_grid.int_point_2d |
Truncates a point to integer coordinates. | |
def | enhanced_grid.int_point_3d |
Truncates a point to integer coordinates. | |
def | enhanced_grid.points_to_grid |
def | enhanced_grid.points_to_grid_3d |
Converts a list of points to a 3D grid. | |
def | enhanced_grid.make_grid_1d |
def | enhanced_grid.make_grid_2d |
Makes 2 list of lists. | |
def | enhanced_grid.make_grid_3d |
Makes 2 list of lists. | |
def | enhanced_grid.srange |
Returns an xrange that can be used to iterate over the slice of the container. | |
def | enhanced_grid.is_slice |
Returns true if s is a slice or an Ellipsis. | |
def | enhanced_grid.slice_len |
Returns the number of elements this slice will return, provided the provided primary is large enough. | |
def | enhanced_grid.slice_mul |
Returns a slice that is equivalent to the two slices combined. | |
def | enhanced_grid.complete_slice |
Completes this slice for a given length. | |
def | enhanced_grid.__init__ |
def | enhanced_grid.__getitem__ |
def | enhanced_grid.__setitem__ |
def | enhanced_grid.__init__ |
def | enhanced_grid.__init__ |
Variables | |
enhanced_grid.grid | |
enhanced_grid.x | |
enhanced_grid.y | |
enhanced_grid.z |