An Earth grid covering a full 30 degree range of longitude for non-polar regions with a hex span of 320Km
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- class EGrid160LongPart
Members list
SidesGroup
The bottom, lowest or minimum Side Row of this TileGrid. The r value, the row number value.
The bottom, lowest or minimum Side Row of this TileGrid. The r value, the row number value.
Attributes
- Inherited from:
- TGrid
Foreachs over each inner row of Sides. Users will not normally need to use this method directly.
Foreachs over each inner row of Sides. Users will not normally need to use this method directly.
Attributes
- Inherited from:
- TGrid
The number of Rows of Sides.
Foreachs over each Row of Sides. Users will not normally need to use this method directly.
Foreachs over each Row of Sides. Users will not normally need to use this method directly.
Attributes
- Inherited from:
- TGrid
The top, highest or maximum Side Row of this TileGrid. The r value, the row number.
The top, highest or maximum Side Row of this TileGrid. The r value, the row number.
Attributes
- Inherited from:
- TGrid
Value members
Inherited methods
Attributes
- Inherited from:
- HGrid
The centre of the hex grid in terms of c column coordinates.
The C column coordinate of the middle of the full grid.
Attributes
- Inherited from:
- HGridIrr
The central line of longitude of the full grid. This is a multiple of 30 degrees. 0E, 30E ... 180E, 150W ... 30W.
The central line of longitude of the full grid. This is a multiple of 30 degrees. 0E, 30E ... 180E, 150W ... 30W.
Attributes
- Inherited from:
- EGridLong
Is the specified tile centre row empty?
The centre point as a Vec2. Not sure why this id implemented here.
The centre point as a Vec2. Not sure why this id implemented here.
Attributes
- Inherited from:
- TGridSys
The HCenOrSide coordinate centre for this hex grid.
Gives the index into the unsafe backing Array of a HCornerLayer.
Spawns a new HCornerLayer data layer for this HGridSys from the master HGridSys's data layer.
Spawns a new HCornerLayer data layer for this HGridSys from the master HGridSys's data layer.
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGridSys
Finds path from Start hex tile centre to end tile centre given the cost function parameter.
Finds path from Start hex tile centre to end tile centre given the cost function parameter.
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGridSys
Gives a flat projection of HCoords to Pt2s. For a simple singular HGrid system this is all that is required to translate between grid coordinates and standard 2 dimensional space. For multi grids it provides a simple way to display all the tiles in the grid system, but a more complex projection may be required for fully meaningful display representation. For Example world grid systems and multi layer square tile games will require their own specialist projections.
Gives a flat projection of HCoords to Pt2s. For a simple singular HGrid system this is all that is required to translate between grid coordinates and standard 2 dimensional space. For multi grids it provides a simple way to display all the tiles in the grid system, but a more complex projection may be required for fully meaningful display representation. For Example world grid systems and multi layer square tile games will require their own specialist projections.
Attributes
- Definition Classes
- Inherited from:
- HGrid
flatMaps from all hex tile centre coordinates to an Arr of type ArrT. The elements of this array can not be accessed from this grid class as the TileGrid structure is lost in the flatMap operation.
flatMaps from all hex tile centre coordinates to an Arr of type ArrT. The elements of this array can not be accessed from this grid class as the TileGrid structure is lost in the flatMap operation.
Attributes
- Inherited from:
- HGridSys
flatMaps over each row number.
foldLefts over each row number.
Foreach grid Row y coordinate.
Attributes
- Inherited from:
- TGridSys
H cost for A* path finding. To move 1 tile has a cost 2. This is because the G cost or actual cost is the sum of the terrain cost of tile of departure and the tile of arrival.
H cost for A* path finding. To move 1 tile has a cost 2. This is because the G cost or actual cost is the sum of the terrain cost of tile of departure and the tile of arrival.
Attributes
- Inherited from:
- HGrid
The latitude and longitude LatLong of an HCoord within the grid.
The latitude and longitude LatLong of an HCoord excluding the distorted east and west extrems of the grid.
The latitude and longitude LatLong of an HCoord excluding the distorted east and west extrems of the grid.
Attributes
- Inherited from:
- EGridLong
Height of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Height of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Attributes
- Inherited from:
- TGridSys
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
Gives the index into an Arr / Array of Tile data from its tile HCen. Use sideIndex and vertIndex methods to access Side and Vertex Arr / Array SeqDef data.
Gives the index into an Arr / Array of Tile data from its tile HCen. Use sideIndex and vertIndex methods to access Side and Vertex Arr / Array data.
The minimum or lowest tile centre column c coordinate in the whole tile grid. This is called c rather than x because in hex grids HGrids there is not a 1 to 1 ratio from column coordinate to the x value in a Pt2.
foreach hex link / inner side's coordinate HSide, calls the effectual function.
foreach hex link / inner side's coordinate HSide, calls the effectual function.
Attributes
- Inherited from:
- HGrid
Maps over the HCen hex centre tile coordinates. B is used rather than A as a type parameter, as this method maps from HCen => B, corresponding to the standard Scala map function of A => B.
maps over each row number.
Creates a new HCenBuffLayer An [[HCen] hex tile centre corresponding Arr of empty ArrayBuffers of the given or inferred type.
Creates a new HCenBuffLayer An [[HCen] hex tile centre corresponding Arr of empty ArrayBuffers of the given or inferred type.
Attributes
- Inherited from:
- HGridSys
New hex tile data layer.
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGridSys
The number of Rows of vertices.
Maps from all hex tile centre coordinates to an Arr of type ArrT. The elements of this array can not be accessed from this grid class as the TileGrid structure is lost in the flatMap operation.
Maps from all hex tile centre coordinates to an Arr of type ArrT. The elements of this array can not be accessed from this grid class as the TileGrid structure is lost in the flatMap operation.
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
The centre of the hex grid in terms of r row coordinates.
the Maximum or highest tile centre column c coordinate in the whole tile grid. This is called c rather than x because in hex grids HGrids there is not a 1 to 1 ratio from column coordinate to the x value in a Pt2.
Implementation incomplete.
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
The end (or by default right) column number of the hex coordinate row. So note that for the purposes of this method 2, 2 is not considered to be in the smae row as 2, 1 and 2, 3, although they have the same c number. Similarly Cen 2, 2 is not considered to be in the same row as sides 2, 0 and 2, 6.
The end (or by default right) column number of the hex coordinate row. So note that for the purposes of this method 2, 2 is not considered to be in the smae row as 2, 1 and 2, 3, although they have the same c number. Similarly Cen 2, 2 is not considered to be in the same row as sides 2, 0 and 2, 6.
Attributes
- Inherited from:
- HGrid
Spawns a new HSideBoolLayer data layer for this HGridSys from the master HGridSys's data layer.
Spawns a new HSideBoolLayer data layer for this HGridSys from the master HGridSys's data layer.
Attributes
- Inherited from:
- HGridSys
Gives the index into an Arr / Array of Tile data from its tile HCen. Use sideIndex and vertIndex methods to access Side and Vertex Arr / Array data.
Gives the index into an Arr / Array of Tile data from its tile HSide. Use arrIndex and vertIndex methods to access tile centre and Vertex Arr / Array data.
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGridSys
Attributes
- Inherited from:
- HGrid
The top or highest centre row, r coordinate.
Gives the index into an Arr / Array of side data from its tile HVert. Use arrIndex and vertIndex methods to access tile centre and side Arr / Array data.
Gives the index into an Arr / Array of Tile data from its tile HVert. Use arrIndex and sideArrIndex methods to access tile centre and side Arr / Array data.
Width of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Width of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Attributes
- Inherited from:
- TGridSys
Inherited fields
The bottom or lowest tile centre row, r coordinate.
The length of one column coordinate delta
Attributes
- Inherited from:
- EGridLong
The number of inner sides in the hex grid system.
The number of outer sides in the hex grid system.
The number of sides in the hex grid system.
Number of rows of tile centres. This will be different to the number of rows of sides and and will be different to the number of rows of vertices for HexGrids.
Number of rows of tile centres. This will be different to the number of rows of sides and and will be different to the number of rows of vertices for HexGrids.
Attributes
- Inherited from:
- HGridIrr
The total number of tile centres in this tile Grid system.
Attributes
- Inherited from:
- HGrid
Array of indexs for Side data Arrs giving the index value for the start of each side row.
Array of indexs for Side data Arrs giving the index value for the start of each side row.
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGridIrr