HexGridOld

object HexGridOld
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def adjTilesOfTile(tileRoord: Roord): Roords
def latLong(pt: Pt2, latLongOffset: LatLong, xyOffset: PtM2, gridScale: Length): LatLong
def latLongToRoord(latLong: LatLong, latLongOffset: LatLong, xyOffset: PtM2, gridScale: Length): Pt2
def latLongU(pt: Pt2, latLongOffset: LatLong, xyOffset: PtM2): LatLong
def latLongV(pt: Pt2, latLongOffset: LatLong, xyOffset: PtM2): LatLong
def latLongW(pt: Pt2, latLongOffset: LatLong, xyOffset: PtM2): 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
def sideOrient[A](sideRoord: Roord, upRight: => A, rightSide: => A, downRight: => A): A
def sideOrient[A](y: Int, c: Int, upRight: => A, rightSide: => A, downRight: => A): A
def sideRoordToCens(sideRoord: Roord): (Roord, Roord)
def sideRoordToLine(sideRoord: Roord): LineSeg

Top end, bottom end.

Top end, bottom end.

Top end, bottom end.

Top end, bottom end.

Vertices not in order for side Polyon.

Vertices not in order for side Polyon.

Vertices not in order for side Polyon.

Vertices not in order for side Polyon.

def sideRoordsOfTile(tileRoord: Roord): Roords
def vertRoordsOfTile(tileRoord: Roord): Roords

Concrete fields

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

The previous value was 2 / sqrt(3).

The previous value was 2 / sqrt(3).

The previous value was 4 / sqrt(3).

The previous value was 4 / sqrt(3).