HexGridOld

object HexGridOld
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def adjTilesOfTile(tileRoord: Roord): Roords
def gridToGridDist(i: Int): Metres
def latLong(pt: Pt2, latLongOffset: LatLong, xyOffset: PtMetre2, gridScale: Metres): LatLong
def latLongToRoord(latLong: LatLong, latLongOffset: LatLong, xyOffset: PtMetre2, gridScale: Metres): Pt2
def latLongU(pt: Pt2, latLongOffset: LatLong, xyOffset: PtMetre2): LatLong
def latLongV(pt: Pt2, latLongOffset: LatLong, xyOffset: PtMetre2): LatLong
def latLongW(pt: Pt2, latLongOffset: LatLong, xyOffset: PtMetre2): LatLong
def roordToVec2(roord: Roord): Pt2

Used for regular HexGrids and the regular aspect of irregular Hexgrids

Used for regular HexGrids and the regular aspect of irregular Hexgrids

def roordToVec2(y: Int, c: Int): Pt2
def roordToVec2Rel(roord: Roord, relPosn: Pt2): Pt2
@inline
def sideOrient[A](sideRoord: Roord, upRight: => A, rightSide: => A, downRight: => A): A
@inline
def sideOrient[A](y: Int, c: Int, upRight: => A, rightSide: => A, downRight: => A): A
def sideOrientStr(x: Int, y: Int): String
def sideRoordToCens(sideRoord: Roord): (Roord, Roord)
def sideRoordToLine(sideRoord: Roord): LineSeg

Top end, bottom end.

Top end, bottom end.

def sideRoordToLineEndRoords(y: Int, c: Int): (Roord, Roord)

Top end, bottom end.

Top end, bottom end.

def sideRoordToRoordLine(y: Int, c: Int): RoordLine

Vertices not in order for side Polyon.

Vertices not in order for side Polyon.

def sideRoordToRoordOffs(ySide: Int, cSide: Int): (RoordOff, RoordOff, RoordOff, RoordOff)

Vertices not in order for side Polyon.

Vertices not in order for side Polyon.

def sideRoordsOfTile(tileRoord: Roord): Roords
def vertRoordsOfTile(y: Int, c: Int): Roords
def vertRoordsOfTile(tileRoord: Roord): Roords
@inline
def x0: Int
@inline
def x1: Int
@inline
def x2: Int
@inline
def x3: Int
@inline
def x4: Int
@inline
def x5: Int
@inline
def y0: Double
@inline
def y1: Double
@inline
def y2: Double
@inline
def y3: Double
@inline
def y4: Double
@inline
def y5: Double

Concrete fields

val cenVerts: Seq[Pt2]
val gridA: Int
val gridB: Int
val gridC: Int
val gridD: Int
val gridE: Int
val gridF: Int
val gridG: Int
val gridH: Int
val gridI: Int
val gridJ: Int
val gridK: Int
val gridL: Int
val gridM: Int
val gridN: Int
val gridO: Int
val gridP: Int
val gridQ: Int
val gridR: Int
val gridS: Int
val gridT: Int
val gridU: Int
val gridV: Int
val gridW: Int
val gridX: Int
val gridY: Int
val gridZ: Int
val triangleFan: Seq[Pt2]
val v0: Pt2

The Up vertice

The Up vertice

val v1: Pt2

The Up Right vertice

The Up Right vertice

val v2: Pt2

Down Right vertice

Down Right vertice

val v3: Pt2

The Down vertice

The Down vertice

val v4: Pt2

The Down Left vertice

The Down Left vertice

val v5: Pt2

The up left vertice

The up left vertice

Verts start at Up and follow clockwise

Verts start at Up and follow clockwise

val verts: Seq[Pt2]
val yDist: Double

The previous value was 2 / sqrt(3).

The previous value was 2 / sqrt(3).

val yDist2: Double

The previous value was 4 / sqrt(3).

The previous value was 4 / sqrt(3).