HCenOrSide

trait HCenOrSide extends HCoord

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

trait HCoord
trait TCoord
trait Int2Elem
trait IntNElem
trait SpecialT
trait Show2[Int, Int]
trait Show
class Object
trait Matchable
class Any
class HCen
class HSide

Value members

Concrete methods

override def toPt2: Pt2
Definition Classes
override def toVec: Vec2
Definition Classes

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
TCoord
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 r: Int

Row number for the coordinate of a tile grid.

Row number for the coordinate of a tile grid.

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
final override def toString: String
Definition Classes
Show -> Any
Inherited from
Show
def typeStr: String
Inherited from
TCoord

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