GIScene.Grid.Index Class
An object representing a tile in the grid. The x property indexes the tiles from west to east. The y property indexes the tiles from south to north.
Constructor
GIScene.Grid.Index
(
-
x -
y -
tileSize
Parameters:
-
xInteger -
yInteger -
tileSizeNumber
Item Index
Methods
Methods
getTilesFromLineIntersection
(
Array of GIScene.Grid.Index
-
startCoord2 -
endCoord2 -
tileSize
Returns an array of Grid.Index objects which are intersected by a line
Parameters:
-
startCoord2GIScene.Coordinate2 -
endCoord2GIScene.Coordinate2 -
tileSizeNumber
Returns:
Array of GIScene.Grid.Index:
tiles
