HCen

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

A Hex tile centre HexGrid coordinate.

Companion
object
trait HCoord
trait TCoord
trait Int2Elem
trait IntNElem
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 co0rdinate for this hex along with a step to an adjacent hex.

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

def decText(fontSize: Double, colour: Colour): TextGraphic
def fill(colour: Colour): PolygonFill

The polygon of this tile, specified in HVert coordinates.

The polygon of this tile, specified in HVert coordinates.

def optStep(operand: HCen): OptRef[HexStep]

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

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

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 rcText(fontSize: Double, colour: Colour): TextGraphic
def step(st: HexStep): HCen

Step to adjacent hex tile.

Step to adjacent hex tile.

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 equals(obj: Any): Boolean
Definition Classes
HCoord -> Any
Inherited from
HCoord
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
final 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