EGrid160Long

ostrat.eg160.EGrid160Long
See theEGrid160Long companion object
abstract class EGrid160Long(rBottomCen: Int, cenLongInt: Int, rowArray: Array[Int]) extends EGridLong

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
class EGridLong
class EGrid
trait EGridSys
class HGridIrr
trait HGrid
trait HGridSys
trait TGrid
trait TGridSys
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

SidesGroup

final def bottomSideR: Int

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
final def numOfSideRows: Int

The number of Rows of Sides.

The number of Rows of Sides.

Attributes

Inherited from:
TGrid

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
final override def sidesForeach(f: HSide => Unit): Unit

foreach Hex side's coordinate HSide, calls the effectfull function.

foreach Hex side's coordinate HSide, calls the effectfull function.

Attributes

Definition Classes
Inherited from:
HGrid
final def topSideRow: Int

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

override def adjTilesOfTile(tile: HCen): HCenArr

Combine adjacent tiles of the same value.

Combine adjacent tiles of the same value.

Attributes

Definition Classes
Inherited from:
HGridIrr
final override def bottom: Double

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

Definition Classes
Inherited from:
HGrid

Attributes

Inherited from:
HGrid
def cCen: Int

The centre of the hex grid in terms of c column coordinates.

The centre of the hex grid in terms of c column coordinates.

Attributes

Inherited from:
TGrid

The C column coordinate of the middle of the full grid.

The C column coordinate of the middle of the full grid.

Attributes

Inherited from:
EGridLong

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
final def cenRowEmpty(row: Int): Boolean

Is the specified tile centre row empty?

Is the specified tile centre row empty?

Attributes

Inherited from:
HGrid

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
override def coordCen: HCoord

The HCenOrSide coordinate centre for this hex grid.

The HCenOrSide coordinate centre for this hex grid.

Attributes

Definition Classes
Inherited from:
HGridIrr
def cornerLayerArrayIndex(hc: HCen, vertIndex: Int): Int

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
def cornerLayerSpawn(superGrid: HGridSys, superLayer: HCornerLayer): 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
override def defaultView(pxScale: Double): HGView

Attributes

Definition Classes
Inherited from:
HGrid
override def edgesForeach(f: HSide => Unit): Unit

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:
HGridIrr
final def edgesMap[B, ArrT <: Arr[B]](f: HSide => B)(implicit build: ArrMapBuilder[B, ArrT]): ArrT

maps over each the grid systems outer side's coordinate HSide.

maps over each the grid systems outer side's coordinate HSide.

Attributes

Inherited from:
HGridSys
def findPath(startCen: HCen, endCen: HCen)(fTerrCost: (HCen, HCen) => OptInt): Option[HCenArr]

Attributes

Inherited from:
HGridSys
def findPathList(startCen: HCen, endCen: HCen)(fTerrCost: (HCen, HCen) => OptInt): Option[List[HCen]]

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
override def findSideTiles(hs: HSide): Option[(HCen, HCen)]

Not correct yet.

Not correct yet.

Attributes

Definition Classes
Inherited from:
HGrid
override def findStep(startHC: HCen, endHC: HCen): Option[HStep]

Finds step from Start HCen to target from HCen.

Finds step from Start HCen to target from HCen.

Attributes

Definition Classes
Inherited from:
HGrid
final def findStep(startR: Int, startC: Int, endR: Int, endC: Int): Option[HStep]

Finds step from Start HCen to target from HCen.

Finds step from Start HCen to target from HCen.

Attributes

Inherited from:
HGridSys

Attributes

Inherited from:
HGridSys
override def findStepEnd(startHC: HCen, step: HStep): Option[HCen]

Finds step from Start HCen to target from HCen.

Finds step from Start HCen to target from HCen.

Attributes

Definition Classes
Inherited from:
HGrid
override def flatHCoordToPt2(hCoord: HCoord): Pt2

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
final def flatMap[ArrT <: Arr[_]](f: HCen => ArrT)(implicit build: ArrFlatBuilder[ArrT]): ArrT

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
final def flatMapRows[ArrT <: Arr[_]](f: Int => ArrT)(implicit build: ArrFlatBuilder[ArrT]): ArrT

flatMaps over each row number.

flatMaps over each row number.

Attributes

Inherited from:
TGridSys
final def foldRows[B](init: B)(f: (B, Int) => B): B

foldLefts over each row number.

foldLefts over each row number.

Attributes

Inherited from:
TGrid
final override def foreach(f: HCen => Unit): Unit

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:
HGrid
final def foreachRow(f: Int => Unit): Unit

Foreach grid Row y coordinate.

Foreach grid Row y coordinate.

Attributes

Inherited from:
TGrid
def fullDisplayScale(dispWidth: Double, dispHeight: Double, padding: Double): Double

Attributes

Inherited from:
TGridSys
def getHCost(startCen: HCen, endCen: HCen): Int

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
override def hCenExists(r: Int, c: Int): Boolean

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:
HGridIrr
final def hCenExists(hc: HCen): Boolean

Boolean. True if the HCen hex centre exists in this hex grid.

Boolean. True if the HCen hex centre exists in this hex grid.

Attributes

Inherited from:
HGridSys
def hCenLayerSpawn[A <: AnyRef](superGrid: HGridSys, superLayer: HCenLayer[A])(implicit ct: ClassTag[A]): HCenLayer[A]

Spawns a new HCenLayer data layer for this HGridSys from the master HGridSys's HCenLayer data layer.

Spawns a new HCenLayer data layer for this HGridSys from the master HGridSys's HCenLayer data layer.

Attributes

Inherited from:
HGridSys
override def hCenSteps(hCen: HCen): HStepArr

Attributes

Definition Classes
Inherited from:
HGrid

The latitude and longitude LatLong of an HCoord within the grid.

The latitude and longitude LatLong of an HCoord within the grid.

Attributes

Inherited from:
EGridLong

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
final def height: Double

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
final override def iForeach(init: Int)(f: (HCen, Int) => Unit): Unit

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:
HGrid
final override def iForeach(f: (HCen, Int) => Unit): Unit

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:
HGrid

Attributes

Inherited from:
HGridSys
override def innerRowForeachInnerSide(r: Int)(f: HSide => Unit): Unit

Attributes

Definition Classes
Inherited from:
HGridIrr

Attributes

Inherited from:
EGridSys

Attributes

Inherited from:
EGridSys

The line segments of the inner sides defined in HCoord vertices.

The line segments of the inner sides defined in HCoord vertices.

Attributes

Inherited from:
HGridSys
override def layerArrayIndex(r: Int, c: Int): Int

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:
HGridIrr
final def layerArrayIndex(hc: HCen): Int

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 HCen. Use sideIndex and vertIndex methods to access Side and Vertex Arr / Array data.

Attributes

Inherited from:
HGridSys
final override def left: Double

The left most point in the grid where x is minimum.

The left most point in the grid where x is minimum.

Attributes

Definition Classes
Inherited from:
HGrid
override def leftCenC: Int

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 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.

Attributes

Definition Classes
Inherited from:
HGridIrr
final override def leftSideC: Int

The TSide tile side, with the lowest C column coordinate. This places it on the left most points of the grid.

The TSide tile side, with the lowest C column coordinate. This places it on the left most points of the grid.

Attributes

Definition Classes
Inherited from:
HGrid
final def linksFlatMap[ArrT <: Arr[_]](f: HSide => ArrT)(implicit build: ArrFlatBuilder[ArrT]): ArrT

flatMaps over each inner hex Side's coordinate HSide..

flatMaps over each inner hex Side's coordinate HSide..

Attributes

Inherited from:
HGridSys
final def linksForeach(f: HSide => Unit): Unit

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
final def linksMap[B, ArrT <: Arr[B]](f: HSide => B)(implicit build: ArrMapBuilder[B, ArrT]): ArrT

maps over each the grid systems link / inner side's coordinate HSide.

maps over each the grid systems link / inner side's coordinate HSide.

Attributes

Inherited from:
HGridSys
final def linksOptMap[B, ArrB <: Arr[B]](f: HSide => Option[B])(implicit build: ArrMapBuilder[B, ArrB]): ArrB

OptMaps over each inner hex Side's coordinate HSide.

OptMaps over each inner hex Side's coordinate HSide.

Attributes

Inherited from:
HGridSys
final def map[B, ArrB <: Arr[B]](f: HCen => B)(implicit build: ArrMapBuilder[B, ArrB]): ArrB

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 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.

Attributes

Inherited from:
HGridSys
final def mapRows[B, BB <: Arr[B]](f: Int => B)(implicit build: ArrMapBuilder[B, BB]): BB

maps over each row number.

maps over each row number.

Attributes

Inherited from:
TGridSys
final def newHCenArrLayer[A <: AnyRef](implicit ct: ClassTag[A]): HCenArrLayer[A]

New hex tile data layer of RArr[A].

New hex tile data layer of RArr[A].

Attributes

Inherited from:
HGridSys
final def newHCenArrOfBuff[A <: AnyRef](implicit ct: ClassTag[A]): HCenBuffLayer[A]

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
final def newHCenLayer[A <: AnyRef](value: A)(implicit ct: ClassTag[A]): HCenLayer[A]

New hex tile data layer.

New hex tile data layer.

Attributes

Inherited from:
HGridSys
final def newHCenOptLayer[A <: AnyRef](implicit ct: ClassTag[A]): HCenOptLayer[A]

New hex tile data layer of optional data for this HGridSys.

New hex tile data layer of optional data for this HGridSys.

Attributes

Inherited from:
HGridSys

Attributes

Inherited from:
HGridSys

Attributes

Inherited from:
HGrid

Attributes

Inherited from:
HGridSys
def newSideOpts[A <: AnyRef](implicit ct: ClassTag[A]): HSideOptLayer[A]

Attributes

Inherited from:
HGridSys

Attributes

Inherited from:
HGridSys
final def numOfVertRows: Int

The number of Rows of vertices.

The number of Rows of vertices.

Attributes

Inherited from:
TGrid
override def numRow0s: Int

The number of tile centre rows where r %% 4 == 0.

The number of tile centre rows where r %% 4 == 0.

Attributes

Definition Classes
Inherited from:
HGridIrr
override def numRow2s: Int

The number of tile centre rows where r %% 4 == 2.

The number of tile centre rows where r %% 4 == 2.

Attributes

Definition Classes
Inherited from:
HGridIrr
final def optMap[B, ArrB <: Arr[B]](f: HCen => Option[B])(implicit build: ArrMapBuilder[B, ArrB]): ArrB

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 line segments of the outer sides defined in HCoord vertices.

The line segments of the outer sides defined in HCoord vertices.

Attributes

Inherited from:
HGridSys

Attributes

Definition Classes
Inherited from:
EGridSys
def rCen: Int

The centre of the hex grid in terms of r row coordinates.

The centre of the hex grid in terms of r row coordinates.

Attributes

Inherited from:
TGrid
final override def right: Double

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

Definition Classes
Inherited from:
HGrid
override def rightCenC: Int

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.

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.

Attributes

Definition Classes
Inherited from:
HGridIrr
final override def rightSideC: Int

The TSide tile side, with the highest C column coordinate. This places it on the right most points of the grid.

The TSide tile side, with the highest C column coordinate. This places it on the right most points of the grid.

Attributes

Definition Classes
Inherited from:
HGrid
def rowCombine[A <: AnyRef](r: Int, layer: HCenLayer[A], indexingGSys: HGridSys)(implicit ct2: ClassTag[A]): RPairArr[HCenRow, A]

Implementation incomplete.

Implementation incomplete.

Attributes

Inherited from:
HGrid
def rowForeach(r: Int)(f: HCen => Unit): Unit

Foreachs over each tile centre of the specified row applying the side effecting function to the HCen.

Foreachs over each tile centre of the specified row applying the side effecting function to the HCen.

Attributes

Inherited from:
HGridIrr
override def rowForeachSide(r: Int)(f: HSide => Unit): Unit

Calls the Foreach procedure on every Hex Side in the row given by the input parameter.

Calls the Foreach procedure on every Hex Side in the row given by the input parameter.

Attributes

Definition Classes
Inherited from:
HGridIrr
override def rowLeftCenC(row: Int): Int

The start (or by default left column) of the tile centre of the given row. Will throw on illegal values.

The start (or by default left column) of the tile centre of the given row. Will throw on illegal values.

Attributes

Definition Classes
Inherited from:
HGridIrr
def rowLeftCoordC(row: Int, c: Int): Int

Attributes

Inherited from:
HGrid

Attributes

Inherited from:
HGrid

Attributes

Inherited from:
HGrid
override def rowNumTiles(row: Int): Int

The number of tile centres in the given row.

The number of tile centres in the given row.

Attributes

Definition Classes
Inherited from:
HGridIrr
override def rowRightCenC(row: Int): Int

The end (or by default right) column number of the tile centre of the given row. Will throw on illegal values.

The end (or by default right) column number of the tile centre of the given row. Will throw on illegal values.

Attributes

Definition Classes
Inherited from:
HGridIrr
def rowRightCoordC(row: Int, c: Int): Int

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
override def rowsCombine[A <: AnyRef](layer: HCenLayer[A], indexingGSys: HGridSys): RArr[HCenRowPair[A]]

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:
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
override def sideLayerArrayIndex(r: Int, c: Int): Int

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 HCen. Use sideIndex and vertIndex methods to access Side and Vertex Arr / Array data.

Attributes

Definition Classes
Inherited from:
HGridIrr
final def sideLayerArrayIndex(hc: HSide): Int

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.

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:
HGridSys

Attributes

Inherited from:
EGridSys

Attributes

Inherited from:
EGridSys

The line segments of the sides defined in HCoord vertices.

The line segments of the sides defined in HCoord vertices.

Attributes

Inherited from:
HGridSys
def sideOptLayerSpawn[A <: AnyRef](superGrid: HGridSys, superLayer: HSideOptLayer[A])(implicit ct: ClassTag[A]): HSideOptLayer[A]

Spawns a new HSideOptlLayer data layer for this HGridSys from the master HGridSys's data layer.

Spawns a new HSideOptlLayer data layer for this HGridSys from the master HGridSys's data layer.

Attributes

Inherited from:
HGridSys
override def sideTile1(hSide: HSide): HCen

Attributes

Definition Classes
Inherited from:
HGrid

Attributes

Inherited from:
HGridSys
override def sideTile2(hSide: HSide): HCen

Attributes

Definition Classes
Inherited from:
HGrid

Attributes

Inherited from:
HGridSys
def sideTiles(hSide: HSide): (HCen, HCen)

Attributes

Inherited from:
HGridSys
final def sides: HSideArr

The HSide hex side coordinates.

The HSide hex side coordinates.

Attributes

Inherited from:
HGridSys
final def sidesFlatMap[ArrT <: Arr[_]](f: HSide => ArrT)(implicit build: ArrFlatBuilder[ArrT]): ArrT

flatMaps over each Hex Side's coordinate HSide.

flatMaps over each Hex Side's coordinate HSide.

Attributes

Inherited from:
HGridSys
final def sidesMap[B, ArrT <: Arr[B]](f: HSide => B)(implicit build: ArrMapBuilder[B, ArrT]): ArrT

maps over each Hex Side's coordinate HSide in the hex grid system.

maps over each Hex Side's coordinate HSide in the hex grid system.

Attributes

Inherited from:
HGridSys
final def sidesOptMap[B, ArrB <: Arr[B]](f: HSide => Option[B])(implicit build: ArrMapBuilder[B, ArrB]): ArrB

Optionally maps over each Hex Side's coordinate HSide.

Optionally maps over each Hex Side's coordinate HSide.

Attributes

Inherited from:
HGridSys
final override def top: Double

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

Definition Classes
Inherited from:
HGrid
final override def topCenR: Int

The top of highest tile centre row, r coordinate.

The top of highest tile centre row, r coordinate.

Attributes

Definition Classes
Inherited from:
HGridIrr

Attributes

Inherited from:
HGrid
final def topSideR: Int

The top or highest centre row, r coordinate.

The top or highest centre row, r coordinate.

Attributes

Inherited from:
TGrid
override def unsafeStepEnd(startCen: HCen, step: HStep): HCen

Attributes

Definition Classes
Inherited from:
HGrid
def vertArrIndex(r: Int, c: Int): Int

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 side data from its tile HVert. Use arrIndex and vertIndex methods to access tile centre and side Arr / Array data.

Attributes

Inherited from:
HGridSys
final def vertArrIndex(hc: HSide): Int

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.

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.

Attributes

Inherited from:
HGridSys
final def width: Double

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
override def xCen: Double

The centre of this grid in the X axis. this will be equal to the cCen Int value.

The centre of this grid in the X axis. this will be equal to the cCen Int value.

Attributes

Definition Classes
Inherited from:
TGrid
final override def yCen: Double

The centre of the hex grid along the Y axis after the yRatio has been applied to the r row value.

The centre of the hex grid along the Y axis after the yRatio has been applied to the r row value.

Attributes

Definition Classes
Inherited from:
HGrid
final override def yRatio: Double

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:
HGridSys

Inherited fields

The bottom or lowest tile centre row, r coordinate.

The bottom or lowest tile centre row, r coordinate.

Attributes

Inherited from:
HGridIrr

The length of one column coordinate delta

The length of one column coordinate delta

Attributes

Inherited from:
EGrid

Attributes

Inherited from:
EGridLong
final lazy val numInnerSides: Int

The number of inner sides in the hex grid system.

The number of inner sides in the hex grid system.

Attributes

Inherited from:
HGridSys
final lazy val numOuterSides: Int

The number of outer sides in the hex grid system.

The number of outer sides in the hex grid system.

Attributes

Inherited from:
HGridSys
final lazy val numSides: Int

The number of sides in the hex grid system.

The number of sides in the hex grid system.

Attributes

Inherited from:
HGridSys
final val numTileRows: Int

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
final lazy override val numTiles: Int

The total number of tile centres in this tile Grid system.

The total number of tile centres in this tile Grid system.

Attributes

Inherited from:
HGridSys

Attributes

Inherited from:
EGridLong

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