SqCen

case class SqCen(r: Int, c: Int) extends SqCenOrSide with TileCen

A Square tile centre square grid SqGrid coordinate.

Companion:
object
trait Serializable
trait Product
trait Equals
trait TileCen
trait SqCoord
trait TileCoord
trait ElemInt2
trait ElemIntN
trait SpecialT
trait Show2[Int, Int]
trait TypeStr2[Int, Int]
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any

Value members

Concrete methods

def -(operand: SqCen): SqCen
def active(id: AnyRef): PolygonActive
def fill(colour: Colour): PolygonFill
def findStep(operand: SqCen): OptRef[SqStep]

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

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

def optStep(operand: SqCen): OptRef[SqStep]

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

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

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: SqStep): SqCen

Step to adjacent hex tile. Will throw exception on illegal value.

Step to adjacent hex tile. Will throw exception on illegal value.

def stepOpt(st: SqStep)(implicit grid: SqGrid): Option[SqCen]

Step to adjacent hex tile.

Step to adjacent hex tile.

override def typeStr: String
Definition Classes
def v1: SqVert
def v2: SqVert
def v3: SqVert
def v4: SqVert

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 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
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
def parenthStr: String
Inherited from:
TileCoord
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def rcStr: String
Inherited from:
TileCoord
def rcStr32: String
Inherited from:
TileCoord
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowDec
@inline
override def show1: Int
Definition Classes
Inherited from:
TileCoord
@inline
override def show2: Int
Definition Classes
Inherited from:
TileCoord
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowProductDec
def showDec(style: ShowStyle, maxPlaces: Int): String

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

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

Inherited from:
ShowDec
def showElemStrDecs(way: ShowStyle, decimalPlaces: Int): Strings
Inherited from:
Show2
override def showElemStrs(way: ShowStyle): Strings
Definition Classes
Inherited from:
ShowProductDec
def showSemisNameDecs(maxPlaces: Int, minPlaces: Int): String
Inherited from:
ShowProductDec
def showSemisNames: String
Inherited from:
ShowProduct
override def str: String
Definition Classes
Inherited from:
ShowDec
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec
def str1: String

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
def str2: String

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
def str3: String

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
final override def syntaxDepth: Int
Definition Classes
Inherited from:
ShowElemInt2
override def toPt2: Pt2
Definition Classes
Inherited from:
SqBaseCoord
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show
override def toVec: Vec2
Definition Classes
Inherited from:
SqBaseCoord

Implicits

Inherited implicits

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