HCenOrSide

trait HCenOrSide extends HNotVert with TileCenOrSide

Common trait for hex centre and hex side coordinate. The position of these coordinates is proportional, unlike the Hex vertices positions.

Companion:
object
trait HNotVert
trait HCoord
trait TileCoord
trait ElemInt2
trait ElemIntN
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait ShowN
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any
class HCen
class HSide

Value members

Inherited methods

def c: Int

Column number for the coordinate of a tile grid.

Column number for the coordinate of a tile grid.

Inherited from:
TileCoord
def canEqual(a: Any): Boolean
Inherited from:
HCoord
def el1Show(style: ShowStyle, maxPlaces: Int): String
Inherited from:
Show2
def el2Show(style: ShowStyle, maxPlaces: Int): String
Inherited from:
Show2
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
final override def int1: Int
Definition Classes
Inherited from:
ShowElemInt2
final override def int2: Int
Definition Classes
Inherited from:
ShowElemInt2
override def name1: String
Definition Classes
Inherited from:
TileCoord
override def name2: String
Definition Classes
Inherited from:
TileCoord
override def opt1: Option[Int]

The optional default value for parameter 1.

The optional default value for parameter 1.

Definition Classes
Inherited from:
Show2
override def opt2: Option[Int]

The optional default value for parameter 2.

The optional default value for parameter 2.

Definition Classes
Inherited from:
Show2
Inherited from:
TileCoord
def r: Int

Row number for the coordinate of a tile grid.

Row number for the coordinate of a tile grid.

Inherited from:
TileCoord
Inherited from:
TileCoord
Inherited from:
TileCoord
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowN
override def show1: Int
Definition Classes
Inherited from:
TileCoord
override def show2: Int
Definition Classes
Inherited from:
TileCoord
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowN
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT type class instances.

Inherited from:
Show
def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): Strings
Inherited from:
Show2
Inherited from:
ShowN
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String
Inherited from:
ShowN

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

A Strings Arr collection of the show methods return values of the elements of this Show Product class.

Inherited from:
ShowN
override def str: String
Definition Classes
Inherited from:
ShowN

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
def subR(rDelta: Int): HCoord
Inherited from:
HCoord
final override def syntaxDepth: Int
Definition Classes
Inherited from:
ShowElemInt2
override def toPt2: Pt2
Definition Classes
Inherited from:
HNotVert
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show
override def toVec: Vec2
Definition Classes
Inherited from:
HNotVert
Inherited from:
TileCoord
def view(pxScale: Double): HGridView
Inherited from:
HCoord

Implicits

Inherited implicits

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