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
def fOrientation[A](x: Int, y: Int, upRight: => A, rightSide: => A, downRight: => A): A
def latLong(pt: Pt2, latLongOffset: LatLong, xyOffset: PtM2, gridScale: Length): LatLong
def latLongToCood(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 sideCoodToLine(sideCood: Cood): LineSeg
def sideCoodsOfTile(tileCood: Cood): Coods
def vertCoodsOfTile(tileCood: Cood): Coods

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