HSetter

ostrat.prid.phex.HSetter
trait HSetter[TT <: AnyRef, ST, SST <: ST & HSepSome]

Helper trait for setting an LayerHcRefSys, HSepLayer and a HCornerLayer at the same time. This allows the basic geometry of the terrain to be laid out in systematic row order. There will be tile rows and vertex rows. It is assumed that you will want to specify the values for nearly every tile HCen. Therefore, the column of the tile is determined by its position in the row sequence. It is assumed that the majority of the HSeps, at least initially will have default empty / none values. Hence, the setters for the vertex rows must specify there column.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WTerrSetter
class VTerrSetter

Members list

Type members

Classlikes

trait BendBase extends VertSetBase

Sets only the inside HCorner of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
trait BendInBase
class BendIn
trait BendInLtBase
class BendInLt
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
trait BendInRtBase
class BendInRt
trait BendOutBase
class BendOut
Show all
trait BendInBase extends BendBase

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendIn
trait BendInLtBase extends BendBase

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendInLt
trait BendInOutBase extends BendBase

Sets all the corners of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets all the corners of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
Show all

So I think this is only useful on edge of a grid where it meets a second grid. Sets all the corners of Vertex for a bend HSep terrain, with extra separator vertex, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

So I think this is only useful on edge of a grid where it meets a second grid. Sets all the corners of Vertex for a bend HSep terrain, with extra separator vertex, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Show all
Known subtypes
class BendExtra
trait BendInRtBase extends BendBase

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendInRt

Used for setting the corners of a vertex on the right edge of a grid. Sets the vertex to the left on both hex tiles.

Used for setting the corners of a vertex on the right edge of a grid. Sets the vertex to the left on both hex tiles.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BendLtOut
trait BendOutBase extends BendBase

Sets the 2 outer corners of the bend for HSep terrain, Also sets the left most of the HSeps of the bend vertex. The orientation of the bend is specified by the direction of the inside of the bend.

Sets the 2 outer corners of the bend for HSep terrain, Also sets the left most of the HSeps of the bend vertex. The orientation of the bend is specified by the direction of the inside of the bend.

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendOut
trait CapeBase

Base trait for capes / headlands / peninsulas. Only use these classes for HVerts where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Base trait for capes / headlands / peninsulas. Only use these classes for HVerts where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Cape
trait Isle10Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 10/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 10/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle10
class Isle10Het
class Isle10Homo
trait Isle12
class Isle12Het
class Isle12Homo
trait Isle10
class Isle10Homo
Show all
trait Isle11Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 11/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 11/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle11
class Isle11Het
class Isle11Homo
trait Isle12Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 12/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 12/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
trait Isle13Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 13/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 13/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle13
class Isle13Het
class Isle13Homo
trait Isle3Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 3/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 3/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle3
class Isle3Homo
trait Isle4Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 4/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 4/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle4
class Isle4Homo
trait Isle5Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 5/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 5/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle5
class Isle5Homo
trait Isle6Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 6/16 of the radius of the hex. Only use* these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 6/16 of the radius of the hex. Only use* these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle6
class Isle6Homo
trait Isle7Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 7/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 7/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle7
class Isle7Homo
trait Isle8Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 8/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 8/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle8
class Isle8Het
class Isle8Homo
trait Isle9Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 9/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 9/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle9
class Isle9Het
class Isle9Homo
trait IsleNBase extends TRowElemBase

Attributes

Supertypes
trait TRowElemBase
class Object
trait Matchable
class Any
Known subtypes
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
trait Isle11Base
trait Isle11
class Isle11Het
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
trait Isle10Base
trait Isle10
class Isle10Het
trait Isle12
class Isle12Het
trait Isle10
trait Isle3Base
trait Isle3
trait Isle4Base
trait Isle4
trait Isle5Base
trait Isle5
trait Isle6Base
trait Isle6
trait Isle7Base
trait Isle7
trait Isle8Base
trait Isle8
class Isle8Het
trait Isle9Base
trait Isle9
class Isle9Het
Show all
trait IsleNBaseHomo extends IsleNBase

Terrain setter trait for (geometrical) island terrain. where all the HSep separators have the same terrain type.

Terrain setter trait for (geometrical) island terrain. where all the HSep separators have the same terrain type.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Known subtypes
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
Show all
trait IsleNLargeBase extends IsleNBase

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Known subtypes
trait Isle11Base
trait Isle11
class Isle11Het
class Isle11Homo
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
class Isle13Homo
Show all
trait IsleNSmallBase extends IsleNBase

Sets the HSep separators terrain and HCorners for an Island or geometrically analogous terrain, with a radius set in the sub traits. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners.

Sets the HSep separators terrain and HCorners for an Island or geometrically analogous terrain, with a radius set in the sub traits. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners.

Attributes

Supertypes
trait IsleNBase
trait TRowElemBase
class Object
trait Matchable
class Any
Known subtypes
trait Isle10Base
trait Isle10
class Isle10Het
class Isle10Homo
trait Isle12
class Isle12Het
class Isle12Homo
trait Isle10
class Isle10Homo
trait Isle3Base
trait Isle3
class Isle3Homo
trait Isle4Base
trait Isle4
class Isle4Homo
trait Isle5Base
trait Isle5
class Isle5Homo
trait Isle6Base
trait Isle6
class Isle6Homo
trait Isle7Base
trait Isle7
class Isle7Homo
trait Isle8Base
trait Isle8
class Isle8Het
class Isle8Homo
trait Isle9Base
trait Isle9
class Isle9Het
class Isle9Homo
Show all
trait IsthmusBase

Needs removing. Base trait Isthmus. Generally this will be used for Isthmuses, but it can be used for any HCen and HSep terrain that fits the geometry.

Needs removing. Base trait Isthmus. Generally this will be used for Isthmuses, but it can be used for any HCen and HSep terrain that fits the geometry.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Isthmus
trait OrigBase extends VertSetBase

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
trait OrigLtBase
class OrigLt
trait OrigLtRtBase
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase
class OrigRt
Show all
trait OrigLtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the left from the same view.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the left from the same view.

Attributes

Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class OrigLt
trait OrigLtRtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep.

Attributes

Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the right from the same view.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the right from the same view.

Attributes

Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class OrigRt
trait SepBBase extends TRowElemBase

Sets an HSepB separator in the tile row. Make sure you do not add 4 to the column coordinate after applying this.

Sets an HSepB separator in the tile row. Make sure you do not add 4 to the column coordinate after applying this.

Attributes

Supertypes
trait TRowElemBase
class Object
trait Matchable
class Any
Known subtypes
class SepB
class SepB
trait SetSepBase

This is for setting HSeps on the edge of grids that sit within the hex area of the tile on the neighbouring grid.

This is for setting HSeps on the edge of grids that sit within the hex area of the tile on the neighbouring grid.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SetSep
class SetSep
trait TRowElemBase

A tile row element. Your tile rows will include these in addition to straight tile values.

A tile row element. Your tile rows will include these in addition to straight tile values.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait IsleNBase
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
trait Isle11Base
trait Isle11
class Isle11Het
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
trait Isle10Base
trait Isle10
class Isle10Het
trait Isle12
class Isle12Het
trait Isle10
trait Isle3Base
trait Isle3
trait Isle4Base
trait Isle4
trait Isle5Base
trait Isle5
trait Isle6Base
trait Isle6
trait Isle7Base
trait Isle7
trait Isle8Base
trait Isle8
class Isle8Het
trait Isle9Base
trait Isle9
class Isle9Het
trait SepBBase
class SepB
class SepB
trait TRowElem
trait TRowElem
class Cape
class Isthmus
Show all
trait ThreeDownBase extends VertSetBase

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class ThreeDown
class ThreeDown
trait ThreeUpBase extends VertSetBase

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class ThreeUp
class ThreeUp
trait VertSetBase

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BendBase
trait BendInBase
class BendIn
trait BendInLtBase
class BendInLt
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
trait BendInRtBase
class BendInRt
trait BendOutBase
class BendOut
trait OrigBase
trait OrigLtBase
class OrigLt
trait OrigLtRtBase
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase
class OrigRt
class ThreeDown
class ThreeDown
trait ThreeUpBase
class ThreeUp
class ThreeUp
Show all

Value members

Abstract methods

The HCorner layer to set the vertices of the HSeps.

The HCorner layer to set the vertices of the HSeps.

Attributes

def sTerrs: LayerHSOptSys[ST, SST]

The LayerHSOptSys. The HSep separator values.

The LayerHSOptSys. The HSep separator values.

Attributes

def terrs: LayerHcRefSys[TT]

The LayerHcRefSys. The HCen tile values.

The LayerHcRefSys. The HCen tile values.

Attributes

Implicits

Implicits

implicit def grid: HGrid