An earth grid covering a full 30 degree longitude range for the non polar regions.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class EGrid120LongFullclass EGrid13LongFullclass EGrid160LongFullclass EGrid220LongFullclass EGrid320LongFullclass EGrid460LongFullclass EGrid640LongFullclass EGrid80LongFullclass EGridMegaLongFullShow all
Members list
Grouped members
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 separators. Users will not normally need to use this method directly.
Foreachs over each Row of separators. 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
Foreachs over each Row of vertices. Users will not normally need to use this method directly.
Foreachs over each Row of vertices. Users will not normally need to use this method directly.
Attributes
- Inherited from:
- TGrid
Value members
Inherited methods
Returns a clockwise sequence of adjacent tiles.
Attributes
- Inherited from:
- HGrid
flatMaps over each r row coordinate number.
maps over each r row coordinate number.
Foreach grid Row r coordinate.
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:
- HGridGen
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?
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
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
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
Show type class instance for the elements of this class.
Show type class instance for the elements of this class.
Attributes
- Definition Classes
- Inherited from:
- HGridGen
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:
- 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:
- HexStruct
foldLefts over each row number.
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 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.
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.
Boolean. True if the specified hex centre exists in this hex grid.
Attributes
- Inherited from:
- EGridSys
The latitude and longitude LatLong of an HCoord excluding the distorted east and west extremes of the grid.
The latitude and longitude LatLong of an HCoord excluding the distorted east and west extremes 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
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 data.
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.
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:
- HGrid
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:
- HexStruct
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- EGridSys
Attributes
- Inherited from:
- EGridSys
The centre of the hex grid in terms of r row coordinates.
Implementation incomplete.
Calls the Foreach procedure on every Hex vertex in the row given by the input parameter.
Calls the Foreach procedure on every Hex vertex in the row given by the input parameter.
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
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 same 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 same 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
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGrid
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 HSep. 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
The most basic Show method, paralleling the show method on Show type class instances.
The most basic Show method, paralleling the show method on Show type class instances.
Attributes
- Definition Classes
-
TellSeqLike -> Tell
- Inherited from:
- TellSeqLike
Show with decimal precision of 0 places.
Show with decimal precision of 1 place padding with a zero if necessary.
Show with decimal precision of 1 place padding with a zero if necessary.
Attributes
- Inherited from:
- Tell
Show with decimal precision of 2 places padding with zeros if necessary.
Show with decimal precision of 2 places padding with zeros if necessary.
Attributes
- Inherited from:
- Tell
Show with decimal precision of 3 places padding with zeros if necessary.
Show with decimal precision of 3 places padding with zeros if necessary.
Attributes
- Inherited from:
- Tell
Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on Show type class instances.
Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on Show type class instances.
Attributes
- Definition Classes
-
TellSeqLike -> Tell
- Inherited from:
- TellSeqLike
The syntactic depth of the tell String for this object.
The syntactic depth of the tell String for this object.
Attributes
- Definition Classes
-
TellSeqLike -> Tell
- Inherited from:
- TellSeqLike
Attributes
- Definition Classes
- Inherited from:
- HGridGen
Attributes
- Inherited from:
- TellSeqLike
Attributes
- Inherited from:
- HGrid
The top or highest separator row, r coordinate.
This property determines if the type can be used with Multiple syntax.
This property determines if the type can be used with Multiple syntax.
MyObj * 7
. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).
Attributes
- Inherited from:
- Persist
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
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 bottom or lowest tile centre row, r coordinate.
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:
- HGridGen
The total number of tile centres in this tile Grid system.
Attributes
- Inherited from:
- HGrid
Array of indexs for separator data Arrs giving the index value for the start of each separator row.
Array of indexs for separator data Arrs giving the index value for the start of each separator row.
Attributes
- Inherited from:
- HGrid
Attributes
- Inherited from:
- HGridGen