EGrid160LongMulti
object for creating 160km hex scale earth grids.
Attributes
- Graph
-
- Supertypes
-
trait EGrid160Systrait EGridLongMultitrait EGridMultitrait HGridMultitrait TGridMultitrait EGridSystrait HGridSystrait TGridSystrait HexStructtrait TCenStructclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
The type of the tile grids within this tile grid system.
Attributes
- Inherited from:
- EGridLongMulti
Value members
Concrete methods
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 the 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 the tile of departure and the tile of arrival.
Attributes
- Definition Classes
Inherited methods
Returns a clockwise sequence of adjacent tiles.
Returns a clockwise sequence of adjacent tiles.
Returns a clockwise sequence of adjacent tiles.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
flatMaps over each r row coordinate number.
maps over each r row coordinate number.
For each row of tiles performs side effecting function on the r coordinate of the row.
For each row of tiles performs side effecting function on the r coordinate of the row.
Attributes
- Definition Classes
- Inherited from:
- TGridMulti
The bottom most point in the grid where the value of y is minimum.
The bottom most point in the grid where the value of y is minimum.
Attributes
- Inherited from:
- EGridLongMulti
Attributes
- Inherited from:
- HGridSys
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
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Gives the index into the unsafe backing Array of a HCornerLayer.
Gives the index into the unsafe backing Array of a HCornerLayer.
Attributes
- Inherited from:
- HGridSys
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
foreach hex edge / outer side's coordinate HSide, calls the effectual function.
foreach hex edge / outer side's coordinate HSide, calls the effectual function.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
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
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:
- EGridMulti
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:
- HexStruct
foreachs over each HCen hex tile centre, applying the side effecting function.
foreachs over each HCen hex tile centre, applying the side effecting function.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- TGridSys
Gets the appropriate HGrid for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Gets the appropriate HGrid for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Attributes
- Inherited from:
- EGridMulti
Gets the appropriate HGrid for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Gets the appropriate HGrid for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
The grids of this tile grid system.
The spacing between the centres of the grid on the X axis.
The spacing between the centres of the grid on the X axis.
Attributes
- Inherited from:
- EGridLongMulti
Boolean. True if the specified hex centre exists in this hex grid.
Boolean. True if the specified hex centre exists in this hex grid.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Boolean. True if the specified hex centre exists in this hex grid.
Boolean. True if the specified hex centre exists in this hex grid.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
hex coordinate to latitude and longitude.
hex coordinate to latitude and longitude.
Attributes
- Definition Classes
- Inherited from:
- EGridLongMulti
Attributes
- Inherited from:
- EGridSys
The Delta in c from Grid to Grid.
The longitude Int for the head grid.
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
foreachs with index over each HCen hex tile centre, apply the side effecting function.
foreachs with index over each HCen hex tile centre, apply the side effecting function.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
foreachs with index over each HCen hex tile centre, apply the side effecting function.
foreachs with index over each HCen hex tile centre, apply the side effecting function.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
flatMaps from all hex tile centre coordinates to an Arr of type ArrT. The normal flatMap functions is only applied if the condtion of the first function is true.
flatMaps from all hex tile centre coordinates to an Arr of type ArrT. The normal flatMap functions is only applied if the condtion of the first function is true.
Attributes
- Inherited from:
- HexStruct
Maps each Hcen to an element of type B, only if the predicate function on the HCen is true. Collects the true cases. In some cases this will be easier and more efficient than employing the optMap method.
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 SeqDef data.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
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 left most point in the grid where x is minimum.
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
- Definition Classes
- Inherited from:
- EGridMulti
Finds the most appropriate HGridMan for the HCoord or returns None.
Finds the most appropriate HGridMan for the HCoord or returns None.
Attributes
- Inherited from:
- EGridLongMulti
Finds the most appropriate HGridMan for the HCoord or returns None.
Finds the most appropriate HGridMan for the HCoord or returns None.
Attributes
- Inherited from:
- EGridMulti
Gets the appropriate HGridMan for the HCoord.ex abbreviation for Exception. Throws if HCoord doesn't exist.
Gets the appropriate HGridMan for the HCoord.ex abbreviation for Exception. Throws if HCoord doesn't exist.
Attributes
- Definition Classes
- Inherited from:
- EGridLongMulti
Gets the appropriate HGridMan for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Gets the appropriate HGridMan for the HCoord. ex abbreviation for Exception Throws if HCoord doesn't exist.
Attributes
- Inherited from:
- EGridMulti
Maps the appropriate EGridMan for the HCoord. ex abbreviation for Exception.Throws if HCoord doesn't exist.
Maps the appropriate EGridMan for the HCoord. ex abbreviation for Exception.Throws if HCoord doesn't exist.
Attributes
- Inherited from:
- EGridMulti
Maps the appropriate EGridMan for the HCoord. Throws if HCoord doesn't exist.
Maps the appropriate EGridMan for the HCoord. Throws if HCoord doesn't exist.
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
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.
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
Attributes
- Inherited from:
- EGridMulti
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:
- TGridMulti
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:
- HexStruct
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
The right most point in the grid where the value of x is maximum.
The right most point in the grid where the value of x is maximum.
Attributes
- Inherited from:
- EGridLongMulti
For each row combine data layer into RArr[HCenRowPair]. May be superceded
For each row combine data layer into RArr[HCenRowPair]. May be superceded
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Temporary implementation.
Gives the index into an Arr / Array of Tile data from its tile HSep. Use arrIndex and vertIndex methods to access tile centre and Vertex Arr / Array data.
Attributes
- Inherited from:
- EGridMulti
Attributes
- Definition Classes
- Inherited from:
- EGridLongMulti
This method should only be used when you know the hex separator exists.
This method should only be used when you know the hex separator exists.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Attributes
- Definition Classes
- Inherited from:
- EGridLongMulti
This method should only be used when you know the hex separator exists.
This method should only be used when you know the hex separator exists.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
foreach Hex separator's coordinate HSep, calls the effectual function.
foreach Hex separator's coordinate HSep, calls the effectual function.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridMulti
Spawns a new HSideBoolLayer for this EGridMulti, from an Arr of HGrid-HSideOptLayer pairs.
Spawns a new HSideBoolLayer for this EGridMulti, from an Arr of HGrid-HSideOptLayer pairs.
Attributes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
Spawns a new HSepLayer for this EGridMulti, from an Arr of HGrid-HSideLayer pairs.
Spawns a new HSepLayer for this EGridMulti, from an Arr of HGrid-HSideLayer pairs.
Attributes
- Inherited from:
- EGridMulti
Spawns a new LayerHSOptSys for this EGridMulti, from an Arr of HGrid-HSideOptLayer pairs.
Spawns a new LayerHSOptSys for this EGridMulti, from an Arr of HGrid-HSideOptLayer pairs.
Attributes
- Inherited from:
- EGridMulti
Finds step from Start HCen to target from HCen.
Finds step from Start HCen to target from HCen.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Unsafe. Gets the destination HCen from the HStep. Throws exception if no end point,
Unsafe. Gets the destination HCen from the HStep. Throws exception if no end point,
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
Attributes
- Inherited from:
- HGridSys
Finds step from Start HCen to target from HCen.
Finds step from Start HCen to target from HCen.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
The top most point in the grid where the value of y is maximum.
The top most point in the grid where the value of y is maximum.
Attributes
- Inherited from:
- EGridLongMulti
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.
Finds the HCoord if it exists, by taking the HVDirn from an HVert.
Finds the HCoord if it exists, by taking the HVDirn from an HVert.
Attributes
- Definition Classes
- Inherited from:
- EGridMulti
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
The conversion factor for c column tile grid coordinates. 1.0 / sqrt(3).
The conversion factor for c column tile grid coordinates. 1.0 / sqrt(3).
Attributes
- Definition Classes
- Inherited from:
- HexStruct
Inherited fields
The length of one column coordinate delta
Attributes
- Inherited from:
- EGridLongMulti
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.