HCen

class HCen(val r: Int, val c: Int) extends HCenOrSide

A Hex tile centre hexG grid HGrid coordinate.

Companion
object
trait HCoord
trait TCoord
trait ElemInt2
trait ElemIntN
trait SpecialT
trait Show2[Int, Int]
trait Show
class Object
trait Matchable
class Any

Value members

Concrete methods

def -(operand: HCen): HCen
def active(id: Any): PolygonActive

Returns a coordinate for this hex along with a step to an adjacent hex.

Returns a coordinate for this hex along with a step to an adjacent hex.

def decText(fontSize: Double, colour: Colour): TextGraphic
override
def equals(that: Any): Boolean
Definition Classes
HCoord -> Any
def fill(colour: Colour): PolygonFill
def findStep(operand: HCen): OptRef[HStep]

Optionally returns the Step value of the HCen if it is an adjacent HCen else returns the safe null value.

Optionally returns the Step value of the HCen if it is an adjacent HCen else returns the safe null value.

The polygon of this tile, specified in HVert coordinates.

The polygon of this tile, specified in HVert coordinates.

The polygon of this hex tile if it is part of a regular grid.

The polygon of this hex tile if it is part of a regular grid.

def step(st: HStep)(implicit grid: HGrid): Option[HCen]

Step to adjacent hex tile.

Step to adjacent hex tile.

def stepOld(st: HStep): HCen

Step to adjacent hex tile.

Step to adjacent hex tile.

def text32(fontSize: Double, colour: Colour): TextGraphic
override
def typeStr: String
Definition Classes
def v1: HVert
def v2: HVert
def v3: HVert
def v4: HVert
def v5: HVert
def v6: HVert

The vertex sequence in HVert coordinates. This starts with the upper right vertex and proceeds clockwise to the upper vertex.

The vertex sequence in HVert coordinates. This starts with the upper right vertex and proceeds clockwise to the upper vertex.

Inherited methods

def canEqual(a: Any): Boolean
Inherited from
HCoord
Inherited from
Show2
Inherited from
Show2
override
def hashCode: Int
Definition Classes
HCoord -> Any
Inherited from
HCoord
override
def int1: Int
Definition Classes
Inherited from
Show2Base32s
override
def int2: Int
Definition Classes
Inherited from
Show2Base32s
override
def name1: String
Definition Classes
Inherited from
TCoord
override
def name2: String
Definition Classes
Inherited from
TCoord
def parenthStr: String
Inherited from
TCoord
def rcStr: String
Inherited from
TCoord
override
def show(way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowProduct
@inline
override
def show1: Int
Definition Classes
Inherited from
TCoord
@inline
override
def show2: Int
Definition Classes
Inherited from
TCoord
def shows(way: Way, decimalPlaces: Int): Strings
Inherited from
Show2
override
def str: String
Definition Classes
Inherited from
ShowProduct
final override
def syntaxdepth: Int
Definition Classes
Inherited from
Show2Base32s
override
def toPt2: Pt2
Definition Classes
Inherited from
HCenOrSide
override
def toString: String
Definition Classes
Show -> Any
Inherited from
Show
override
def toVec: Vec2
Definition Classes
Inherited from
HCenOrSide

Concrete fields

val c: Int
val r: Int

Implicits

Inherited implicits

final implicit override
def showT1: ShowT[Int]
Definition Classes
Inherited from
Show2Base32s
final implicit override
def showT2: ShowT[Int]
Definition Classes
Inherited from
Show2Base32s