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:
-
x
Integer -
y
Integer -
tileSize
Number
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:
-
startCoord2
GIScene.Coordinate2 -
endCoord2
GIScene.Coordinate2 -
tileSize
Number
Returns:
Array of GIScene.Grid.Index:
tiles