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.

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 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 BendMax
class BendMin
class BendAll
trait BendInRtBase extends BendBase

Attributes

Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendInRt
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 CapeOld
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
class Object
trait Matchable
class Any
Known subtypes
class Isle10
class Isle12
class Isle10
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
class Object
trait Matchable
class Any
Known subtypes
class Isle11
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
class Object
trait Matchable
class Any
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
class Object
trait Matchable
class Any
Known subtypes
class Isle13
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
class Object
trait Matchable
class Any
Known subtypes
class Isle3
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
class Object
trait Matchable
class Any
Known subtypes
class Isle4
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
class Object
trait Matchable
class Any
Known subtypes
class Isle5
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
class Object
trait Matchable
class Any
Known subtypes
class Isle6
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
class Object
trait Matchable
class Any
Known subtypes
class Isle7
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
class Object
trait Matchable
class Any
Known subtypes
class Isle8
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
class Object
trait Matchable
class Any
Known subtypes
class Isle9
trait IsleNBase

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Isle11Base
class Isle11
trait Isle12Base
trait Isle13Base
class Isle13
trait Isle10Base
class Isle10
class Isle12
class Isle10
trait Isle3Base
class Isle3
trait Isle4Base
class Isle4
trait Isle5Base
class Isle5
trait Isle6Base
class Isle6
trait Isle7Base
class Isle7
trait Isle8Base
class Isle8
trait Isle9Base
class Isle9
Show all
trait IsleNLargeBase extends IsleNBase

Attributes

Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Known subtypes
trait Isle11Base
class Isle11
trait Isle12Base
trait Isle13Base
class Isle13
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
class Object
trait Matchable
class Any
Known subtypes
trait Isle10Base
class Isle10
class Isle12
class Isle10
trait Isle3Base
class Isle3
trait Isle4Base
class Isle4
trait Isle5Base
class Isle5
trait Isle6Base
class Isle6
trait Isle7Base
class Isle7
trait Isle8Base
class Isle8
trait Isle9Base
class Isle9
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 MouthBase extends VertSetBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class MouthMax
class MouthMin
class MouthOld
trait MouthLtBase extends VertSetBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class MouthLt
trait MouthLtRtBase extends VertSetBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex. 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 Mouth
trait MouthRtBase extends VertSetBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex. 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 MouthRt
trait MouthSpecBase extends VertSetBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class MouthSpec
trait SepBBase

Sets an HSepB separator in the tile row.

Sets an HSepB separator in the tile row.

Attributes

Supertypes
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 SourceBase extends VertSetBase

Attributes

Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class Source
trait SourceLtBase
class SourceLt
class SourceMax
class SourceMin
trait SourceRtBase
class SourceRt
class Source
Show all
trait SourceLtBase extends SourceBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Attributes

Supertypes
trait SourceBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class SourceLt
trait SourceRtBase extends SourceBase

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Sets the mouth in the given direction and the HSep terrain in the opposite direction from the vertex.

Attributes

Supertypes
trait SourceBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class SourceRt
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

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

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

Used for setting the 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
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 BendMax
class BendMin
class BendAll
trait BendInRtBase
class BendInRt
trait BendOutBase
class BendOut
trait MouthBase
class MouthMax
class MouthMin
class MouthOld
trait MouthLtBase
class MouthLt
class Mouth
trait MouthRtBase
class MouthRt
class MouthSpec
trait SourceBase
class Source
trait SourceLtBase
class SourceLt
class SourceMax
class SourceMin
trait SourceRtBase
class SourceRt
class Source
class ThreeDown
class ThreeDown
trait ThreeUpBase
class ThreeUp
class ThreeUp
Show all

Value members

Abstract methods

def sTerrs: LayerHSOptSys[ST, SST]
def terrs: LayerHcRefSys[TT]

Implicits

Implicits

implicit def grid: HGrid