ostrat.prid.phex

Package for hex grids.

Attributes

Members list

Concise view

Type members

Classlikes

implicit class AnysExtensions(thisArr: AnyArr)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class HCen(val r: Int, val c: Int) extends HCenOrSide with TCen

A Hex tile centre hex grid HGrid coordinate. This is the tile coordinate and is all that's needed for simple grids, but is usually referred to as an HCen to destingush it form HSides, HVerts and HCoordOthers In Function parameters, the convention is to place the HCens as the first parameter for example f: (HCen, Pt2) => B.

A Hex tile centre hex grid HGrid coordinate. This is the tile coordinate and is all that's needed for simple grids, but is usually referred to as an HCen to destingush it form HSides, HVerts and HCoordOthers In Function parameters, the convention is to place the HCens as the first parameter for example f: (HCen, Pt2) => B.

Attributes

Companion:
object
Graph
Supertypes
trait TCen
trait HNotVert
trait HCoord
trait Comparable[HCoord]
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Object
trait Matchable
class Any
object HCen

Companion object of HCen trait, contains HVert values for hex tile 0, 0. As well as apply method and Show implicit.

Companion object of HCen trait, contains HVert values for hex tile 0, 0. As well as apply method and Show implicit.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCen.type
final class HCenArr(val unsafeArray: Array[Int]) extends AnyVal with Int2Arr[HCen]

An efficient array[Int] based collection for HCens hex grid centre coordinates.

An efficient array[Int] based collection for HCens hex grid centre coordinates.

Attributes

Companion:
object
Graph
Supertypes
trait Int2Arr[HCen]
trait IntNArr[HCen]
trait Arr[HCen]
trait Sequ[HCen]
trait SeqLike[HCen]
class AnyVal
trait Matchable
class Any

Companion object for HCenArr trait efficient array[Int] based collection for HCens hex grid centre coordinates, contains factory apply and uninitialised methods..

Companion object for HCenArr trait efficient array[Int] based collection for HCens hex grid centre coordinates, contains factory apply and uninitialised methods..

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCenArr.type
class HCenArrLayer[A](val unsafeArray: Array[Array[A]])

A HGridSys HCen data layer of RArrs.

A HGridSys HCen data layer of RArrs.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final class HCenBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal with Int2Buff[HCen]

Attributes

Companion:
object
Graph
Supertypes
trait Int2Buff[HCen]
trait IntNBuff[HCen]
trait Buff[HCen]
trait Sequ[HCen]
trait SeqLike[HCen]
class AnyVal
trait Matchable
class Any
object HCenBuff

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenBuffLayer[A <: AnyRef](val unsafeArr: Array[ArrayBuffer[A]])

A HGridSys HCen layer of data buffers. An HCen hex tile centre grid of ArrayBuffers corresponding to the centres of an HGridSys hex tile grid system.

A HGridSys HCen layer of data buffers. An HCen hex tile centre grid of ArrayBuffers corresponding to the centres of an HGridSys hex tile grid system.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Companion object for the hex (centres) grid Array of ArrayBuffer classes.

Companion object for the hex (centres) grid Array of ArrayBuffer classes.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HCenLayer[A <: AnyRef](val unsafeArray: Array[A]) extends AnyVal with TCenLayer[A]

An HGridSys hex tile grid system of HCen or hex tile data. For efficiency the data is stored as a flat Array. No run time information distinguishes this from an ordinary linear sequence array of data. Whether in a game or a non game application the data of the grid tiles is likely to change much more frequently than the size, shape, structure of the grid. The compiler knows this is hex grid array and hence the data should be set and retrieved through the HGrid hex grid. So nearly all the methods take the HGrid as an implicit parameter.

An HGridSys hex tile grid system of HCen or hex tile data. For efficiency the data is stored as a flat Array. No run time information distinguishes this from an ordinary linear sequence array of data. Whether in a game or a non game application the data of the grid tiles is likely to change much more frequently than the size, shape, structure of the grid. The compiler knows this is hex grid array and hence the data should be set and retrieved through the HGrid hex grid. So nearly all the methods take the HGrid as an implicit parameter.

Attributes

Companion:
object
Graph
Supertypes
trait TCenLayer[A]
trait RefsSeqLike[A]
trait SeqLike[A]
class AnyVal
trait Matchable
class Any
object HCenLayer

Companion object for HCenLayer, contains an apply factory method.

Companion object for HCenLayer, contains an apply factory method.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HCenOptLayer[A <: AnyRef](val unsafeArray: Array[A]) extends AnyVal with TCenOptLayer[A]

A HGridSys data layer of optional tile data. This is specialised for OptRef[A]. The tileGrid can map the HCen coordinate of the tile to the index of the Arr. Hence most methods take an implicit HGridSys hex grid parameter.

A HGridSys data layer of optional tile data. This is specialised for OptRef[A]. The tileGrid can map the HCen coordinate of the tile to the index of the Arr. Hence most methods take an implicit HGridSys hex grid parameter.

Attributes

Graph
Supertypes
trait TCenOptLayer[A]
class AnyVal
trait Matchable
class Any
trait HCenOrSide extends HNotVert with TCenOrSide

Common trait for hex centre and hex side coordinate. The position of these coordinates is proportional, unlike the Hex vertices positions.

Common trait for hex centre and hex side coordinate. The position of these coordinates is proportional, unlike the Hex vertices positions.

Attributes

Companion:
object
Graph
Supertypes
trait HNotVert
trait HCoord
trait Comparable[HCoord]
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Object
trait Matchable
class Any
Known subtypes
class HCen
class HSide
object HCenOrSide

Companion object for HCenOrSide trait, contains factory apply method and implicit Persist instance.

Companion object for HCenOrSide trait, contains factory apply method and implicit Persist instance.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenPair[A2](val a1Int1: Int, val a1Int2: Int, val a2: A2) extends Int2PairElem[HCen, A2]

Attributes

Companion:
object
Graph
Supertypes
trait Int2PairElem[HCen, A2]
trait IntNPairElem[HCen, A2]
trait PairElem[HCen, A2]
class Object
trait Matchable
class Any
object HCenPair

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends Int2PairArr[HCen, HCenArr, A2, HCenPair[A2]]

Attributes

Graph
Supertypes
trait Int2PairArr[HCen, HCenArr, A2, HCenPair[A2]]
trait IntNPairArr[HCen, HCenArr, A2, HCenPair[A2]]
trait PairArr[HCen, HCenArr, A2, HCenPair[A2]]
trait Arr[HCenPair[A2]]
trait Sequ[HCenPair[A2]]
trait SeqNoName[HCenPair[A2]]
trait SeqLike[HCenPair[A2]]
class Object
trait Matchable
class Any
class HCenPairArrMapBuilder[B2](implicit ct: ClassTag[B2]) extends Int2PairArrMapBuilder[HCen, HCenArr, B2, HCenPair[B2], HCenPairArr[B2]]

Attributes

Graph
Supertypes
class HCenPairBuff[B2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[B2]) extends Int2PairBuff[HCen, B2, HCenPair[B2]]

Attributes

Graph
Supertypes
trait Int2PairBuff[HCen, B2, HCenPair[B2]]
trait IntNPairBuff[HCen, B2, HCenPair[B2]]
trait PairBuff[HCen, B2, HCenPair[B2]]
trait Buff[HCenPair[B2]]
trait Sequ[HCenPair[B2]]
trait SeqNoName[HCenPair[B2]]
trait SeqLike[HCenPair[B2]]
class Object
trait Matchable
class Any
class HCenRow(val r: Int, val c: Int, val num: Int)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object HCenRow

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCenRow.type
case class HCenRowPair[A](r: Int, c: Int, num: Int, a2: A) extends PairElem[HCenRow, A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PairElem[HCenRow, A]
class Object
trait Matchable
class Any
class HCenStep(val r1: Int, val c1: Int, val stepInt: Int) extends Int3Elem

A hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

A hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

Attributes

Companion:
object
Graph
Supertypes
trait Int3Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
object HCenStep

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepArr(val unsafeArray: Array[Int]) extends Int3Arr[HCenStep]

Attributes

Companion:
object
Graph
Supertypes
trait Arr[HCenStep]
trait Sequ[HCenStep]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepBuff(val unsafeBuffer: ArrayBuffer[Int]) extends Int3Buff[HCenStep]

Attributes

Companion:
object
Graph
Supertypes
trait Buff[HCenStep]
trait Sequ[HCenStep]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepPair[A2](val a1Int1: Int, val a1Int2: Int, val a1Int3: Int, val a2: A2) extends Int3PairElem[HCenStep, A2]

Attributes

Graph
Supertypes
trait PairElem[HCenStep, A2]
class Object
trait Matchable
class Any
class HCenStepPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends Int3PairArr[HCenStep, HCenStepArr, A2, HCenStepPair[A2]]

Attributes

Companion:
object
Graph
Supertypes
trait Arr[HCenStepPair[A2]]
trait Sequ[HCenStepPair[A2]]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepPairArrMapBuilder[A2](implicit val b2ClassTag: ClassTag[A2]) extends Int3PairArrMapBuilder[HCenStep, HCenStepArr, A2, HCenStepPair[A2], HCenStepPairArr[A2]]

Attributes

Graph
Supertypes
class HCenStepPairBuff[A2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[A2]) extends Int3PairBuff[HCenStep, A2, HCenStepPair[A2]]

Attributes

Graph
Supertypes
trait Buff[HCenStepPair[A2]]
trait Sequ[HCenStepPair[A2]]
class Object
trait Matchable
class Any
trait HCoord extends TCoord with Ordered[HCoord]

A coordinate with in a Hex grid. It may be a Hex tile centre HCen, a HexSide HSide or Hex tile vertice HVert.

A coordinate with in a Hex grid. It may be a Hex tile centre HCen, a HexSide HSide or Hex tile vertice HVert.

Attributes

Companion:
object
Graph
Supertypes
trait Comparable[HCoord]
class Object
trait Matchable
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Any
Known subtypes
trait HNotVert
class HCen
class HSide
class HVert
object HCoord

Companion object for Hex coordinate trait, contains apply factory method and persist and PolygonBuilder implicit instances.

Companion object for Hex coordinate trait, contains apply factory method and persist and PolygonBuilder implicit instances.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCoord.type
final class HCoordArr(val unsafeArray: Array[Int]) extends AnyVal with Int2Arr[HCoord] with HCoordSeqLike

Specialised sequence class for HCoord.

Specialised sequence class for HCoord.

Attributes

Graph
Supertypes
trait Arr[HCoord]
trait Sequ[HCoord]
class AnyVal
trait Matchable
class Any
final class HCoordBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal with Int2Buff[HCoord]

Specialised sequence buffer class for HCoord.

Specialised sequence buffer class for HCoord.

Attributes

Companion:
object
Graph
Supertypes
trait Buff[HCoord]
trait Sequ[HCoord]
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HCoordOther(val r: Int, val c: Int) extends HNotVert

The only purpose of this class is to ensure that all HCoord combinations of r and c are valid. Thisis for the combinations where r is even and c is odd.

The only purpose of this class is to ensure that all HCoord combinations of r and c are valid. Thisis for the combinations where r is even and c is odd.

Attributes

Graph
Supertypes
trait HNotVert
trait HCoord
trait Comparable[HCoord]
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
Known subtypes

Attributes

Graph
Supertypes
Known subtypes
final class HCorner(val unsafeInt: Int) extends AnyVal

Hex tile corner. A corner encodes 1 or 2 HVOffsets. An HVert is shared between 3 hex tiles and 3 HSides. An HCoroner only applies to a single hex tile. Hence unless it is on the edge of the HGridSys there will be 3 HCorners associated with each HVert. This class encodes a single or two HVertoffsets.

Hex tile corner. A corner encodes 1 or 2 HVOffsets. An HVert is shared between 3 hex tiles and 3 HSides. An HCoroner only applies to a single hex tile. Hence unless it is on the edge of the HGridSys there will be 3 HCorners associated with each HVert. This class encodes a single or two HVertoffsets.

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any
object HCorner

Companion object for HCorner, contains factory apply methods for creating no offset, single and double HVoffsets.

Companion object for HCorner, contains factory apply methods for creating no offset, single and double HVoffsets.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCorner.type
class HCornerLayer(val unsafeArray: Array[Int])

HGridSys data layer class that allows the hex tile vertices to be shifted by a small amount to create more pleasing terrain and to feature islands, straits and other tile side features. Every HCen hex tile in the HGridSys has 6 vertex entries.

HGridSys data layer class that allows the hex tile vertices to be shifted by a small amount to create more pleasing terrain and to feature islands, straits and other tile side features. Every HCen hex tile in the HGridSys has 6 vertex entries.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HDirnPathArr(val unsafeArrayOfArrays: Array[Array[Int]]) extends ArrayIntBackedArr[HStepPath]

An Arr of paths consisting of a starting HCen and a sequence of HSteps.

An Arr of paths consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion:
object
Graph
Supertypes
trait Arr[HStepPath]
class Object
trait Matchable
class Any

Companion object for HDirnPathArr contains factory apply method.

Companion object for HDirnPathArr contains factory apply method.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HDirnPathPair[A2](val a1ArrayInt: Array[Int], val a2: A2) extends ArrayIntBackedPair[HStepPath, A2]

An PairNoA1ParamElem where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

An PairNoA1ParamElem where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion:
object
Graph
Supertypes
trait PairElem[HStepPath, A2]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HDirnPathPairArr[A2](val a1ArrayInts: Array[Array[Int]], val a2Array: Array[A2]) extends ArrayIntBackedPairArr[HStepPath, HDirnPathArr, A2, HDirnPathPair[A2]]

A PairNoA1PramArr where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

A PairNoA1PramArr where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion:
object
Graph
Supertypes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HGView(val r: Int, val c: Int, val cPScale: Double) extends Show2[HCoord, Double]

A view of a hex grid, currently representing the HCoord focus and the pixels/dx scale.

A view of a hex grid, currently representing the HCoord focus and the pixels/dx scale.

Attributes

Companion:
object
Graph
Supertypes
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any
object HGView

Companion object for HGView class. Contains factory apply method overloads and implicit Persist instance.

Companion object for HGView class. Contains factory apply method overloads and implicit Persist instance.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HGView.type
trait HGrid extends TGrid with HGridSys

A grid of hexs. The grid may be a regular rectangle of hexs or an irregular grid with variable length rows.

A grid of hexs. The grid may be a regular rectangle of hexs or an irregular grid with variable length rows.

Attributes

Graph
Supertypes
trait HGridSys
trait TGrid
trait TGridSys
class Any
Known subtypes
class HGridIrr(val bottomCenR: Int, val unsafeRowsArray: Array[Int]) extends HGrid

An irregular hex grid, where the rows have different lengths and irregular start row coordinates. This is backed by an Array[Int]. The length of this Array is twice the number of tile rows in the grid. Each row from lowest to highest has two values length of the row in the number of tile centres HCens and the cTileMin coordinate for the row.

An irregular hex grid, where the rows have different lengths and irregular start row coordinates. This is backed by an Array[Int]. The length of this Array is twice the number of tile rows in the grid. Each row from lowest to highest has two values length of the row in the number of tile centres HCens and the cTileMin coordinate for the row.

Attributes

bottomCenR

The r value for the bottom tile row of the TileGrid.

tileRowsStartEnd

the Array contains 2 values per Tile Row, the cStart Tile and the cEnd Tile

Constructor:

creates a new HexGridIrr with a defined grid.

Companion:
object
Graph
Supertypes
trait HGrid
trait HGridSys
trait TGrid
trait TGridSys
class Object
trait Matchable
class Any
Known subtypes
object HGridIrr

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait HGridMan

HGrid manager. The motivation for this class is that a tile grid has no knowledge of the multi tile grid system within which it has been placed. The idea is to encapsulate the code for managing a grid within an object rather than having it all within the HGridSys Not sure if its a good idea or not.

HGrid manager. The motivation for this class is that a tile grid has no knowledge of the multi tile grid system within which it has been placed. The idea is to encapsulate the code for managing a grid within an object rather than having it all within the HGridSys Not sure if its a good idea or not.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HGridMulti extends HGridSys with TGridMulti

A system of multiple HGrids.

A system of multiple HGrids.

Attributes

Graph
Supertypes
trait HGridSys
trait TGridSys
class Object
trait Matchable
class Any
Known subtypes
object Grids160S0E1.type
object Grids160S11E1.type
object Grids160S4E5.type
object Grids320ChinaJapan.type
object Grids320S0E1.type
object Grids320S0E11.type
object Grids320S10E5.type
object Grids320S11E2.type
object Grids320S8E10.type
object GridsNCanada.type
object Grids80s0e1.type
Self type
class HGridReg(val bottomCenR: Int, val topCenR: Int, val leftCenC: Int, val rightCenC: Int) extends HGrid

A Regular hex grid where the tile rows have the same length, except the tile rows where r %% 4 == 2 may differ in length by 1 from tile rows where r %% 4 == 0 rows.

A Regular hex grid where the tile rows have the same length, except the tile rows where r %% 4 == 2 may differ in length by 1 from tile rows where r %% 4 == 0 rows.

Attributes

Companion:
object
Graph
Supertypes
trait HGrid
trait HGridSys
trait TGrid
trait TGridSys
class Object
trait Matchable
class Any
object HGridReg

Companion object for the HGridReg class. Contains an apply method that corrects the r and Y minimum and maximum values.

Companion object for the HGridReg class. Contains an apply method that corrects the r and Y minimum and maximum values.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait HGridScen extends HSysScen

Attributes

Graph
Supertypes
trait HSysScen
class Object
trait Matchable
class Any
Known subtypes
class ThreeScen
object ThreeScen1.type
object ThreeScen2.type
object ThreeScen3.type
object ThreeScen4.type
trait HGridSys extends TGridSys

System of hex tile grids. Can be a single HGrid or a system of multiple hex tile grids.

System of hex tile grids. Can be a single HGrid or a system of multiple hex tile grids.

Attributes

Graph
Supertypes
trait TGridSys
class Any
Known subtypes
abstract class HGridSysGui(title: String) extends TGridSysGui

Graphical User Interface for HGridSys hex grid syatems.

Graphical User Interface for HGridSys hex grid syatems.

Attributes

Graph
Supertypes
class CmdBarGui
class Object
trait Matchable
class Any
Known subtypes
class DLessGui
class G1HGui
class GThreeGui
class G2HGui
class BC305Gui
class CivGui
class NapGui
class WW1Gui
class WW2Gui
class ZugGui
case class HNode(tile: HCen, var gCost: Int, var hCost: Int, var parent: OptRef[HNode])

Hex grid path finding node.

Hex grid path finding node.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait HNotVert extends HCoord

Attributes

Graph
Supertypes
trait HCoord
trait Comparable[HCoord]
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Object
trait Matchable
class Any
Known subtypes
class HCen
class HSide
class HSide(val r: Int, val c: Int) extends HCenOrSide with TSide

A Hex side coordinate in a Hex Grid. So Side 1 on its primary Hex tile goes from Vert 6 to 1 while it is Side 4 on its secondary Hex tile and goes from Vertex 4 to vertex 3 So Side 2 on its primary Hex tile goes from Vert 1 to 2 while it is Side 5 on its secondary Hex tile and goes from Vertex 5 to vertex 4 So Side 3 on its primary Hex tile goes from Vert 2 to 3 while it is Side 4 on its secondary Hex tile and goes from Vertex 6 to vertex 4

A Hex side coordinate in a Hex Grid. So Side 1 on its primary Hex tile goes from Vert 6 to 1 while it is Side 4 on its secondary Hex tile and goes from Vertex 4 to vertex 3 So Side 2 on its primary Hex tile goes from Vert 1 to 2 while it is Side 5 on its secondary Hex tile and goes from Vertex 5 to vertex 4 So Side 3 on its primary Hex tile goes from Vert 2 to 3 while it is Side 4 on its secondary Hex tile and goes from Vertex 6 to vertex 4

Attributes

Companion:
object
Graph
Supertypes
trait TSide
trait HNotVert
trait HCoord
trait Comparable[HCoord]
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class Object
trait Matchable
class Any
object HSide

Companion object for the HSide class, provides an apply factory method that throws an exception for an invalid Hex side coordinate.

Companion object for the HSide class, provides an apply factory method that throws an exception for an invalid Hex side coordinate.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HSide.type
final class HSideArr(val unsafeArray: Array[Int]) extends AnyVal with Int2Arr[HSide]

An efficient array[Int] based collection for HSides hex grid centre coordinates.

An efficient array[Int] based collection for HSides hex grid centre coordinates.

Attributes

Companion:
object
Graph
Supertypes
trait Int2Arr[HSide]
trait IntNArr[HSide]
trait Arr[HSide]
trait Sequ[HSide]
trait SeqLike[HSide]
class AnyVal
trait Matchable
class Any

Companion object for HSideArr trait efficient array[Int] based collection for HSides hex grid centre coordinates, contains factory apply and uninitialised methods.

Companion object for HSideArr trait efficient array[Int] based collection for HSides hex grid centre coordinates, contains factory apply and uninitialised methods.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HSideBoolLayer(val unsafeArray: Array[Boolean]) extends AnyVal with BoolSeqSpec

Boolean data corresponding to the sides of a HGridSys hex grid system , stored using an underlying Array[Boolean]. Thhese classes should be created, initalised and used using an [HGrid]] class. For convenience the HGrid is passed as an implicit parameter.

Boolean data corresponding to the sides of a HGridSys hex grid system , stored using an underlying Array[Boolean]. Thhese classes should be created, initalised and used using an [HGrid]] class. For convenience the HGrid is passed as an implicit parameter.

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HSideBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal with Int2Buff[HSide]

Attributes

Graph
Supertypes
trait Buff[HSide]
trait Sequ[HSide]
trait SeqLike[HSide]
class AnyVal
trait Matchable
class Any
class HSideOptLayer[A <: AnyRef](val unsafeArray: Array[A])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait HStep extends TDirnSided with Int1Elem with HStepOpt

A step on a hex tile grid HGrid can take 6 values: upright right, downright, downleft, left and upleft. These should not be confused with HVDirnOpts which fo from an HVert to an HCen.

A step on a hex tile grid HGrid can take 6 values: upright right, downright, downleft, left and upleft. These should not be confused with HVDirnOpts which fo from an HVert to an HCen.

Attributes

Companion:
object
Graph
Supertypes
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Known subtypes
object HStepUL.type
object HexDL.type
object HexDR.type
object HexLt.type
object HexRt.type
object HexUR.type
object HStep

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HStep.type
final class HStepArr(val unsafeArray: Array[Int]) extends AnyVal with Int1Arr[HStep]

An Arr of hex step directions.

An Arr of hex step directions.

Attributes

Companion:
object
Graph
Supertypes
trait Int1Arr[HStep]
trait IntNArr[HStep]
trait Arr[HStep]
trait Sequ[HStep]
trait SeqLike[HStep]
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HStepBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal with Int1Buff[HStep]

ArrayBuffer based buffer class for Colours.

ArrayBuffer based buffer class for Colours.

Attributes

Companion:
object
Graph
Supertypes
trait Buff[HStep]
trait Sequ[HStep]
trait SeqLike[HStep]
class AnyVal
trait Matchable
class Any
object HStepBuff

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepCen(val stepInt: Int, val r2: Int, val c2: Int) extends Int3Elem

Hex centre origin and hex step.

Hex centre origin and hex step.

Attributes

Companion:
object
Graph
Supertypes
trait Int3Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
object HStepCen

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepCenArr(val unsafeArray: Array[Int]) extends Int3Arr[HStepCen]

Attributes

Companion:
object
Graph
Supertypes
trait Arr[HStepCen]
trait Sequ[HStepCen]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepCenBuff(val unsafeBuffer: ArrayBuffer[Int]) extends Int3Buff[HStepCen]

Attributes

Graph
Supertypes
trait Buff[HStepCen]
trait Sequ[HStepCen]
class Object
trait Matchable
class Any
case object HStepNone extends HStepOpt

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStepOpt
class Object
trait Matchable
class Any
Self type
sealed trait HStepOpt

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HStep
object HStepUL.type
object HexDL.type
object HexDR.type
object HexLt.type
object HexRt.type
object HexUR.type
object HStepNone.type
object HStepOpt

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class HStepPair[A2](val a1Int1: Int, val a2: A2) extends Int1PairElem[HStep, A2]

A PairElem where A1 is an HStep.

A PairElem where A1 is an HStep.

Attributes

Graph
Supertypes
trait Int1PairElem[HStep, A2]
trait IntNPairElem[HStep, A2]
trait PairElem[HStep, A2]
class Object
trait Matchable
class Any
class HStepPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends Int1PairArr[HStep, HStepArr, A2, HStepPair[A2]]

A specialialised Arr class for HStepPairs.

A specialialised Arr class for HStepPairs.

Attributes

Graph
Supertypes
trait PairArr[HStep, HStepArr, A2, HStepPair[A2]]
trait Arr[HStepPair[A2]]
trait Sequ[HStepPair[A2]]
trait SeqNoName[HStepPair[A2]]
trait SeqLike[HStepPair[A2]]
class Object
trait Matchable
class Any
class HStepPairArrMapBuilder[B2](implicit val b2ClassTag: ClassTag[B2]) extends Int1PairArrMapBuilder[HStep, HStepArr, B2, HStepPair[B2], HStepPairArr[B2]]

Attributes

Graph
Supertypes
class HStepPairBuff[A2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[A2]) extends Int1PairBuff[HStep, A2, HStepPair[A2]]

A Buff class for HStepPairs.

A Buff class for HStepPairs.

Attributes

Graph
Supertypes
trait Int1PairBuff[HStep, A2, HStepPair[A2]]
trait IntNPairBuff[HStep, A2, HStepPair[A2]]
trait PairBuff[HStep, A2, HStepPair[A2]]
trait Buff[HStepPair[A2]]
trait Sequ[HStepPair[A2]]
trait SeqNoName[HStepPair[A2]]
trait SeqLike[HStepPair[A2]]
class Object
trait Matchable
class Any
class HStepPath(val unsafeArray: Array[Int]) extends ArrayIntBacked

A path consisting of a starting HCen and a sequence of HSteps.

A path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object HStepPath

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case object HStepUL extends HStep

A step upleft on a hex tile grid HGrid.

A step upleft on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HStepUL.type

Hex grid system graphics projection.

Hex grid system graphics projection.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class HSysProjectionFlat(parent: HGridSys, panel: Panel) extends HSysProjection with TSysProjectionFlat

Projects HGridSys on to a flat surface for 2D graphics. Like all projections attempts to remove tiles that can't be seen.

Projects HGridSys on to a flat surface for 2D graphics. Like all projections attempts to remove tiles that can't be seen.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait HSysScen

Scenario based on a HGrid system.

Scenario based on a HGrid system.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Scen160S0E1.type
object Scen160S4E5.type
object Scen160s11e1.type
object Scen320ChinaJapan.type
object Scen320S0E11.type
object Scen320S10E5.type
object Scen320S11E2.type
object Scen320S8E10.type
object Scen320s0e1.type
object ScenNCanada.type
object Scen80s0s1.type
trait BCScen
object BCScen1.type
object BCScen2.type
trait NapScen
object NapScen1.type
object NapScen2.type
trait WW1Scen
object WW1Scen1.type
object WW1Scen2.type
trait WW2Scen
object WW2Scen1.type
object WW2Scen2.type
trait HGridScen
class ThreeScen
object ThreeScen1.type
object ThreeScen2.type
object ThreeScen3.type
object ThreeScen4.type
trait DLessScen
object DLessScen1.type
object DLessScen2.type
trait H1Scen
object G1HScen1.type
object G1HScen10.type
object G1HScen2.type
object G1HScen3.type
object G1HScen4.type
object G1HScen7.type
object G1HScen8.type
object G1HScen9.type
trait G2HScen
object G2HScen1.type
object G2HScen2.type
object G2HScen3.type
object G2HScen4.type
trait CivScen
object Civ1.type
object Civ2.type
trait ZugScen
object Zug1.type
object Zug2.type
object Zug3.type

Attributes

Graph
Supertypes
trait HSysScen
class Object
trait Matchable
class Any
Known subtypes
trait DLessScen
object DLessScen1.type
object DLessScen2.type
trait H1Scen
object G1HScen1.type
object G1HScen10.type
object G1HScen2.type
object G1HScen3.type
object G1HScen4.type
object G1HScen7.type
object G1HScen8.type
object G1HScen9.type
trait G2HScen
object G2HScen1.type
object G2HScen2.type
object G2HScen3.type
object G2HScen4.type
trait BCScen
object BCScen1.type
object BCScen2.type
trait CivScen
object Civ1.type
object Civ2.type
trait NapScen
object NapScen1.type
object NapScen2.type
trait WW1Scen
object WW1Scen1.type
object WW1Scen2.type
trait WW2Scen
object WW2Scen1.type
object WW2Scen2.type
trait ZugScen
object Zug1.type
object Zug2.type
object Zug3.type
class HTilePolygon(val unsafeArray: Array[Int]) extends Int2SeqSpec[HCen]

A polygon made up of 1 or more hex tiles, defined by the HCens of its outer ring of hex tiles.

A polygon made up of 1 or more hex tiles, defined by the HCens of its outer ring of hex tiles.

Attributes

Graph
Supertypes
trait SeqSpec[HCen]
trait SeqLike[HCen]
class Object
trait Matchable
class Any
class HVAndOffset(val int1: Int, val int2: Int, val int3: Int) extends Int3Elem

An HVert and an offset. The Offset of from the HVert measured in an offset towards a neighbouring HCen or HVert.

An HVert and an offset. The Offset of from the HVert measured in an offset towards a neighbouring HCen or HVert.

Attributes

Companion:
object
Graph
Supertypes
trait Int3Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any

Companion object for HVAndOffset class contains factory apply and none methods. End users should rarely need to use the class constructor directly.

Companion object for HVAndOffset class contains factory apply and none methods. End users should rarely need to use the class constructor directly.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class HVAndOffsetArr(val unsafeArray: Array[Int]) extends HVAndOffsetSeqLike with Int3Arr[HVAndOffset]

Attributes

Companion:
object
Graph
Supertypes

Attributes

Companion:
class
Graph
Supertypes
Self type
class HVAndOffsetBuff(val unsafeBuffer: ArrayBuffer[Int]) extends Int3Buff[HVAndOffset]

Specialised Buff class for HVAndOffsets. The HVert with offset class.

Specialised Buff class for HVAndOffsets. The HVert with offset class.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HVDL extends HVDirn

Down left offset to HVert hex tile vertex.

Down left offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVDL.type
object HVDR extends HVDirn

Down right offset to HVert hex tile vertex.

Down right offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVDR.type
trait HVDirn extends HVDirnOpt

Attributes

Companion:
object
Graph
Supertypes
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Known subtypes
object HVDL.type
object HVDR.type
object HVDn.type
object HVUL.type
object HVUR.type
object HVUp.type
object HVDirn

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HVDirn.type
class HVDirnArr(val unsafeArray: Array[Int]) extends Int1Arr[HVDirnOpt]

Attributes

Companion:
object
Graph
Supertypes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait HVDirnOpt extends Int1Elem

HVert direction of offset towards HCen. These objects should not be confused with HSteps

HVert direction of offset towards HCen. These objects should not be confused with HSteps

Attributes

Companion:
object
Graph
Supertypes
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Known subtypes
trait HVDirn
object HVDL.type
object HVDR.type
object HVDn.type
object HVUL.type
object HVUR.type
object HVUp.type
object HVExact.type
object HVDirnOpt

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object HVDn extends HVDirn

Down offset to HVert hex tile vertex.

Down offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVDn.type
object HVExact extends HVDirnOpt

An offset of 0 / none to HVert hex tile vertex.

An offset of 0 / none to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVExact.type
final class HVOffset(val int1: Int) extends AnyVal with Int1Elem

HVert offset. The direction and magnitude of an HVAndOffset. An HCorner consists of 1 or 2 of these HVOffset. The HCorner values are stored in an HCornerLayer. The value of the HVert can be determined by its position in HCornerLayer.

HVert offset. The direction and magnitude of an HVAndOffset. An HCorner consists of 1 or 2 of these HVOffset. The HCorner values are stored in an HCornerLayer. The value of the HVert can be determined by its position in HCornerLayer.

Attributes

Companion:
object
Graph
Supertypes
trait Int1Elem
trait IntNElem
trait SpecialT
class AnyVal
trait Matchable
class Any
object HVOffset

Companion object for HVOffset class, contains factory apply and fromInt methods.

Companion object for HVOffset class, contains factory apply and fromInt methods.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object HVUL extends HVDirn

Up left offset to HVert hex tile vertex.

Up left offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVUL.type
object HVUR extends HVDirn

Up Right offset to HVert hex tile vertex.

Up Right offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVUR.type
object HVUp extends HVDirn

Up offset to HVert hex tile vertex.

Up offset to HVert hex tile vertex.

Attributes

Graph
Supertypes
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HVUp.type
final class HVert extends AnyVal with HCoord with TCoord

A hex tile vertex coordinate.

A hex tile vertex coordinate.

Attributes

Companion:
object
Graph
Supertypes
trait HCoord
trait Comparable[HCoord]
class Object
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait Point
class AnyVal
trait Matchable
class Any
object HVert

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HVert.type
final class HVertArr(val unsafeArray: Array[Int]) extends AnyVal with HVertSeqLike with Int2Arr[HVert]

An array[Int] based collection for HVert.

An array[Int] based collection for HVert.

Attributes

Companion:
object
Graph
Supertypes
trait Int2Arr[HVert]
trait IntNArr[HVert]
trait Arr[HVert]
trait Sequ[HVert]
trait SeqLike[HVert]
class AnyVal
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class HVertBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal with Int2Buff[HVert]

Attributes

Graph
Supertypes
trait Buff[HVert]
trait Sequ[HVert]
trait SeqLike[HVert]
class AnyVal
trait Matchable
class Any

Common trait for Hverts and PolygonHC

Common trait for Hverts and PolygonHC

Attributes

Graph
Supertypes
Known subtypes
class HVertArr
case object HexDL extends HStep

A step downleft on a hex tile grid HGrid.

A step downleft on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HexDL.type
case object HexDR extends HStep

A step downright on a hex tile grid HGrid.

A step downright on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HexDR.type
case object HexLt extends HStep

A step left on a hex tile grid HGrid.

A step left on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HexLt.type
trait HexMem[A]

Not sure about this trait for occupants of a hex tile.

Not sure about this trait for occupants of a hex tile.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HexMemImp[A]
trait HexMemShow[A]
class HPlayer
class HSquad
object HexMem

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HexMem.type
trait HexMemShow[A] extends HexMem[A] with Show2[HCen, A]

Attributes

Graph
Supertypes
trait Show2[HCen, A]
trait TypeStr2[HCen, A]
trait TypeStr2Plus[HCen, A]
trait TypeStrN
trait ShowN
trait ShowDec
trait Show
trait TypeStr
trait HexMem[A]
class Object
trait Matchable
class Any
Known subtypes
class HPlayer
class HSquad
case object HexRt extends HStep

A step right on a hex tile grid HGrid.

A step right on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HexRt.type
case object HexUR extends HStep

A step upright on a hex tile grid HGrid.

A step upright on a hex tile grid HGrid.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepOpt
trait TDirn
trait Int1Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
Self type
HexUR.type
implicit class IntGridImplicit(thisInt: Int)

phex package extensions for Int.

phex package extensions for Int.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final class LinePathHC(val unsafeArray: Array[Int]) extends AnyVal with HCoordSeqSpec with LinePathInt2[HCoord]

A trait for classes of line paths specified by [HCoord hex grid tile coordinates.

A trait for classes of line paths specified by [HCoord hex grid tile coordinates.

Attributes

Companion:
object
Graph
Supertypes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class LineSegHC(r1: Int, c1: Int, r2: Int, c2: Int) extends LineSegLikeInt4[HCoord] with Int4Elem

A 2d line upon a HexGrid defined by its start and end HGrid HCoords.

A 2d line upon a HexGrid defined by its start and end HGrid HCoords.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Int4Elem
trait IntNElem
trait SpecialT
class Object
trait Matchable
class Any
object LineSegHC

companion object for LineSegHC class contains factory apply method.

companion object for LineSegHC class contains factory apply method.

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class LineSegHCArr(val unsafeArray: Array[Int]) extends Int4Arr[LineSegHC]

Compact immutable Array[Int] based collection class for LineSegHCs. LineSegHC is the library's term for a mathematical straight line segment, but what in common parlance is often just referred to as a line.

Compact immutable Array[Int] based collection class for LineSegHCs. LineSegHC is the library's term for a mathematical straight line segment, but what in common parlance is often just referred to as a line.

Attributes

Companion:
object
Graph
Supertypes

Companion object for the LineSegHCs class.

Companion object for the LineSegHCs class.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any