HexGridAncient

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def adjTileCoodsOfTile(tileCood: Cood): Coods
def coodToPt2(c: Int, y: Int): Pt2
def coodToVec2(cood: Cood): Pt2

Used for regular HexGrids and the regular aspect of irregular Hexgrids

Used for regular HexGrids and the regular aspect of irregular Hexgrids

def coodToVec2(c: Int, y: Int): Vec2
@inline
def fOrientation[A](x: Int, y: Int, upRight: => A, rightSide: => A, downRight: => A): A
def gridToGridDist(i: Int): Metres
def latLong(pt: Pt2, latLongOffset: LatLong, xyOffset: PtMetre2, gridScale: Metres): LatLong
def latLongToCood(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 orientationStr(x: Int, y: Int): String
def sideCoodToCoodLine(x: Int, y: Int): CoodLine
def sideCoodToLine(sideCood: Cood): LineSeg
def sideCoodsOfTile(tileCood: Cood): Coods
def vertCoodsOfTile(x: Int, y: Int): Coods
def vertCoodsOfTile(tileCood: Cood): Coods
@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 xRatio: Double
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).