Package fife :: Module fife :: Class HexGrid
[hide private]
[frames] | no frames]

Class HexGrid

source code

_object --+    
          |    
   CellGrid --+
              |
             HexGrid

Proxy of C++ FIFE::HexGrid class

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
__repr__(self)
repr(x)
source code
 
isAccessible(self, *args)
isAccessible(HexGrid self, Point3D curpos, Point3D target) -> bool
source code
 
getType(self)
getType(HexGrid self) -> std::string const &
source code
 
getName(self)
getName(HexGrid self) -> std::string const &
source code
 
getAdjacentCost(self, *args)
getAdjacentCost(HexGrid self, Point3D curpos, Point3D target) -> double
source code
 
getCellSideCount(self)
getCellSideCount(HexGrid self) -> uint32_t
source code
 
toMapCoordinates(self, *args)
toMapCoordinates(HexGrid self, DoublePoint3D layer_coords) -> DoublePoint3D
source code
 
toLayerCoordinates(self, *args)
toLayerCoordinates(HexGrid self, DoublePoint3D map_coord) -> Point3D
source code
 
toExactLayerCoordinates(self, *args)
toExactLayerCoordinates(HexGrid self, DoublePoint3D map_coord) -> DoublePoint3D
source code
 
getVertices(self, *args)
getVertices(HexGrid self, Point3D cell)
source code
 
getCoordinatesInLine(self, *args)
getCoordinatesInLine(HexGrid self, Point3D start, Point3D end) -> std::vector< FIFE::ModelCoordinate,std::allocator< FIFE::ModelCoordinate > >
source code

Inherited from CellGrid: getAccessibleCoordinates, getHeuristicCost, getRotation, getXScale, getXShift, getYScale, getYShift, getZScale, getZShift, setRotation, setXScale, setXShift, setYScale, setYShift, setZScale, setZShift

Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_HexGrid
  __del__ = lambda self:
Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: CellGrid.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: _swig_repr

isAccessible(self, *args)

source code 

isAccessible(HexGrid self, Point3D curpos, Point3D target) -> bool

Overrides: CellGrid.isAccessible

getType(self)

source code 

getType(HexGrid self) -> std::string const &

Overrides: CellGrid.getType

getName(self)

source code 

getName(HexGrid self) -> std::string const &

Overrides: CellGrid.getName

getAdjacentCost(self, *args)

source code 

getAdjacentCost(HexGrid self, Point3D curpos, Point3D target) -> double

Overrides: CellGrid.getAdjacentCost

getCellSideCount(self)

source code 

getCellSideCount(HexGrid self) -> uint32_t

Overrides: CellGrid.getCellSideCount

toMapCoordinates(self, *args)

source code 

toMapCoordinates(HexGrid self, DoublePoint3D layer_coords) -> DoublePoint3D

Overrides: CellGrid.toMapCoordinates

toLayerCoordinates(self, *args)

source code 

toLayerCoordinates(HexGrid self, DoublePoint3D map_coord) -> Point3D

Overrides: CellGrid.toLayerCoordinates

toExactLayerCoordinates(self, *args)

source code 

toExactLayerCoordinates(HexGrid self, DoublePoint3D map_coord) -> DoublePoint3D

Overrides: CellGrid.toExactLayerCoordinates

getVertices(self, *args)

source code 

getVertices(HexGrid self, Point3D cell)

Overrides: CellGrid.getVertices

getCoordinatesInLine(self, *args)

source code 

getCoordinatesInLine(HexGrid self, Point3D start, Point3D end) -> std::vector< FIFE::ModelCoordinate,std::allocator< FIFE::ModelCoordinate > >

Overrides: CellGrid.getCoordinatesInLine