ostrat.pEarth

Type members

Classlikes

object AfricaEast extends EarthLevel1
object AfricaWest extends EarthLevel1
object AfricaWestGrid extends EGridMaker
object AsiaEast extends EarthLevel1

North of 25.4N degs East of 66.3E west of 141.6E 33.3N

North of 25.4N degs East of 66.3E west of 141.6E 33.3N

object AsiaWest extends EarthLevel1

North of 25.4N degs East of 66.3E west of 141.6E 33.3N

North of 25.4N degs East of 66.3E west of 141.6E 33.3N

object Australasia extends EarthLevel1
trait Biome
object Canarias extends EarthLevel2
case
object Desert extends Biome
object E80Empty extends EGridMaker
case
class E80GridGuiOld(canv: CanvasPlatform, scen: E80DataOld, cenRoord: Roord) extends CmdBarGui

Gui to display E80Data objects in isolation.

Gui to display E80Data objects in isolation.

class EGFarNorth[TileT <: TileAncient, SideT <: TileSideAncient](name: String, cenLong: Longitude, xOffset: Int, xTileMin: Int, xTileMax: Int)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends EGrid80KmAncient[TileT, SideT]
Companion
object
object EGFarNorth
Companion
class
class EGNorth[TileT <: TileAncient, SideT <: TileSideAncient](bounds: Array[Int], name: String, cenLong: Longitude, xOffset: Int, xTileMin: Int, xTileMax: Int)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends EGrid80KmAncient[TileT, SideT]
trait EGrid80Km extends HGridIrr
Companion
object
object EGrid80Km

Functions for Earth tile grids where the hex tile is 80 km from side to side.

Functions for Earth tile grids where the hex tile is 80 km from side to side.

Companion
class
class EGrid80KmAncient[TileT <: TileAncient, SideT <: TileSideAncient](bounds: Array[Int], name: String, cenLong: Longitude, xOffset: Int, xTileMin: Int, xTileMax: Int, yTileMin: Int, yTileMax: Int, turnNum: Int)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends EGridAncient[TileT, SideT]

80km hexs. deltaX in HexCood 1 = 20km

80km hexs. deltaX in HexCood 1 = 20km

Companion
object
Companion
class
trait EGrid80KmOld extends EGridOld
Companion
object

Under new numbering system Greenwich longitude will be row 512 0G0 in Base32, Longitude 30 East passing through St Petersburg Russia will be 1536 Base32 1G0. Longitude 90 West passing through Memphis and New Orleans will be 9728 Base32 9G0. 30 West passing through Greenland will be 11776 Base32 BG0.

Under new numbering system Greenwich longitude will be row 512 0G0 in Base32, Longitude 30 East passing through St Petersburg Russia will be 1536 Base32 1G0. Longitude 90 West passing through Memphis and New Orleans will be 9728 Base32 9G0. 30 West passing through Greenland will be 11776 Base32 BG0.

Companion
class
class EGridAncient[TileT <: TileAncient, SideT <: TileSideAncient](bounds: Array[Int], val name: String, val cenLong: Longitude, val scale: Metres, val xOffset: Int, val yOffset: Int, xTileMin: Int, xTileMax: Int, yTileMin: Int, yTileMax: Int, turnNum: Int)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends HexGridIrrAncient[TileT, SideT]

A Hex Grid for an area of the earth. It is irregular because as you move towards the poles the row length decreases. The x dirn follows lines of longitude. The y Axis at the cenLong moves along a line of longitude.

A Hex Grid for an area of the earth. It is irregular because as you move towards the poles the row length decreases. The x dirn follows lines of longitude. The y Axis at the cenLong moves along a line of longitude.

class EGridAncientOnly(name: String, cenLong: Longitude, scale: Metres, xOffset: Int, yOffset: Int, xTileMin: Int, xTileMax: Int, yTileMin: Int, yTileMax: Int, turnNum: Int) extends EGridAncient[TerrOnly, SideOnlyAncient]

Not sure whether the "fTile: (Int, Int, Terrain) => TileT" should be implicit. Will change with multiple implicit parameter lists

Not sure whether the "fTile: (Int, Int, Terrain) => TileT" should be implicit. Will change with multiple implicit parameter lists

Not sure if this trait needs to exist anymore

Not sure if this trait needs to exist anymore

Companion
object
Companion
class
case
class ESideOnyAncient(x: Int, y: Int, terr: SideTerr) extends ESideAncient
Companion
object
Companion
class
abstract
class EarthAllGuiOld(title: String) extends EarthGuiOld

Not sure if this class is necessary. A class for whole earth maps as opposed to for example, Old World maps.

Not sure if this class is necessary. A class for whole earth maps as opposed to for example, Old World maps.

class EarthAllMap[TileT <: TileAncient, SideT <: TileSideAncient](fTile: (Int, Int, WTile) => TileT, fSide: (Int, Int, SideTerr) => SideT)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends OldWorldMap[TileT, SideT]

An all world map, parametrised by Tile and Tile side types.

An all world map, parametrised by Tile and Tile side types.

object EarthAreas

Object for irregular areas and hexagonal tile grids to represent the Earths surface.

Object for irregular areas and hexagonal tile grids to represent the Earths surface.

case
class EarthBasicGui(canv: CanvasPlatform, startScale: Option[Metres], startFocus: Option[LatLong]) extends CmdBarGui

Basic map of the Earth using irregular areas.

Basic map of the Earth using irregular areas.

object to launch EarthBasic Gui.

object to launch EarthBasic Gui.

abstract
class EarthGuiOld(title: String) extends UnfixedMapGui

Slated for removal.

Slated for removal.

abstract
class EarthLevel1(val shortName: String, val cen: LatLong) extends GeographicSymbolKey

A first level area of the Earth, a large area such as North West Europe.

A first level area of the Earth, a large area such as North West Europe.

abstract
class EarthLevel2(val shortName: String, val cen: LatLong, val terr: WTile) extends GeographicSymbolKey

A second level area of the Earth.

A second level area of the Earth.

Companion
object
Companion
class
case
class EarthView(latLong: LatLong, scale: Metres, up: Boolean)

A view of the Earth. Currently North can only be up or down.

A view of the Earth. Currently North can only be up or down.

Companion
object
object EarthView
Companion
class
case
object Forrest extends Biome

Not sure about this trait.

Not sure about this trait.

case
object Hilly extends Terrain
object IceCap extends Biome
object Iceland extends EarthLevel2
object Jungle extends Biome
case
object Lake extends Water
class Land(val terr: Terrain, val biome: Biome) extends WTile
Companion
object
object Land
Companion
class
object Majorca extends EarthLevel2
case
object Mountains extends Terrain
object NorthAtantic extends EarthLevel1

The North Atlantic. The seas and the land of the north Atlantic.

The North Atlantic. The seas and the land of the north Atlantic.

case
object Ocean extends Water
trait OfEElem[TileT <: TileAncient, SideT <: TileSideAncient] extends OfGridElem[TileT, SideT, EGridAncient[TileT, SideT]]
class OfESide[TileT <: TileAncient, SideT <: TileSideAncient](val eg: EarthGuiOld, val eGrid: EGridAncient[TileT, SideT], val side: SideT) extends OfHexSide[TileT, SideT, EGridAncient[TileT, SideT]] with OfEElem[TileT, SideT]
class OfETile[TileT <: TileAncient, SideT <: TileSideAncient](val eg: EarthGuiOld, val eGrid: EGridAncient[TileT, SideT], val tile: TileT) extends OfHex[TileT, SideT, EGridAncient[TileT, SideT]] with OfEElem[TileT, SideT]

A stand OfTile maps from Grid Coordinates to map Vec2 and then to display Vec2. This maps from Grid Coordinate to Dist2 to Vec2

A stand OfTile maps from Grid Coordinates to map Vec2 and then to display Vec2. This maps from Grid Coordinate to Dist2 to Vec2

class OldWorldMap[TileT <: TileAncient, SideT <: TileSideAncient](val fTile: (Int, Int, WTile) => TileT, fSide: (Int, Int, SideTerr) => SideT)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT])
case
object OpenTerrain extends Biome
object PacificTop extends EarthLevel1
object Peloponnese extends EarthLevel2
case
object Plains extends Terrain
object PolarSouth extends EarthLevel1
object SaharaEast extends EarthLevel2
object SaharaWest extends EarthLevel2
object SeaIce extends WTile
object Sicily extends EarthLevel2
object SideEdge extends SideTerr
object SideNone extends SideTerr
case
class SideOnlyAncient(x: Int, y: Int) extends TileSideAncient
Companion
object
Companion
class
trait SideTerr
object Straitsold extends SideTerr
case
object Taiga extends Biome
case
class TerrOnly(x: Int, y: Int, terr: WTile) extends ETileAncient
Companion
object
object TerrOnly
Companion
class
trait Terrain
object TerrainNone extends WTile
object VertIn
trait WTile extends Coloured

World Tile, consider changing to ETile.

World Tile, consider changing to ETile.

Companion
object
object WTile
Companion
class
trait Water extends WTile

Value members

Concrete methods

def coodToLatLong0(inp: Cood, scale: Metres, yOffset: Int): LatLong

Not necessarily used

Not necessarily used

def fVec2ToLatLongReg(refLong: Longitude, scale: Metres, xOffset: Int, yOffset: Int): Pt2 => LatLong

Returns a function for a specific EGrid to convert from gridVec to Latlong

Returns a function for a specific EGrid to convert from gridVec to Latlong

def vec2ToLatLong0(inp: Pt2, refLong: Longitude, scale: Metres, yOffset: Int): LatLong

Not necessarily used

Not necessarily used

def vec2ToLatLongReg(inp: Pt2, refLong: Longitude, scale: Metres, xOffset: Int, yOffset: Int): LatLong

Concrete fields

The North-South divide between Area1s and Grids at 45 degrees north approx.

The North-South divide between Area1s and Grids at 45 degrees north approx.