SqCen

ostrat.prid.psq.SqCen
See theSqCen companion object
case class SqCen(r: Int, c: Int) extends SqCenOrSep, TCen

A Square tile centre square grid SqGrid coordinate.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TCen
trait SqCenOrSep
trait TCenOrSep
trait SqCoord
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

override type LineSegT = LineSegSC

The type of LineSegLike that this Point can start or ends.

The type of LineSegLike that this Point can start or ends.

Attributes

Inherited from:
SqCoord
override type ThisT = SqCoord

The type of this point for the purposes of LineSegT. May not be the final type.

The type of this point for the purposes of LineSegT. May not be the final type.

Attributes

Inherited from:
SqCoord

Value members

Concrete methods

def -(operand: SqCen): SqCen
def active(id: AnyRef): PolygonActive
def andStep(dirn: SqStep): SqCenStep

SqCenStep for this HCen and the parameter SqStep.

SqCenStep for this HCen and the parameter SqStep.

Attributes

def fill(colour: Colour): PolygonFill
def findStep(operand: SqCen): Option[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.

Attributes

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.

Attributes

Needs replcing as doesn't take SqGridSys. Returns the LineSegSC, a line segment specified in SqCoords, given by the step.

Needs replcing as doesn't take SqGridSys. Returns the LineSegSC, a line segment specified in SqCoords, given by the step.

Attributes

The polygon of this tile, specified in SqVert coordinates.

The polygon of this tile, specified in SqVert coordinates.

Attributes

def stepOpt(st: SqStep)(implicit gridSys: SqGridSys): Option[SqCen]

Step to adjacent hex tile.

Step to adjacent hex tile.

Attributes

override def typeStr: String

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Definition Classes
def v1: SqVert
def v2: SqVert
def v3: SqVert
def v4: SqVert

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

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

Attributes

Inherited methods

def el1Show(style: ShowStyle, maxPlaces: Int): String

Attributes

Inherited from:
Tell2
def el2Show(style: ShowStyle, maxPlaces: Int): String

Attributes

Inherited from:
Tell2

A StrArr Arr of the element type names of this Show Product class.

A StrArr Arr of the element type names of this Show Product class.

Attributes

Inherited from:
Tell2
final override def int1: Int

Attributes

Definition Classes
Inherited from:
TellElemInt2
final override def int2: Int

Attributes

Definition Classes
Inherited from:
TellElemInt2
override def intBufferAppend(buffer: ArrayBuffer[Int]): Unit

Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.

Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.

Attributes

Definition Classes
Inherited from:
Int2Elem
override def intForeach(f: Int => Unit): Unit

Performs the side effecting function on each Double in this Product element.

Performs the side effecting function on each Double in this Product element.

Attributes

Definition Classes
Inherited from:
Int2Elem
override def lineSegFrom(startPt: SqCoord): LineSegSC

LinSegLike from the parameter point to this point.

LinSegLike from the parameter point to this point.

Attributes

Definition Classes
Inherited from:
SqCoord
override def lineSegTo(endPt: SqCoord): LineSegSC

LineSegSC from this point to the parameter point.

LineSegSC from this point to the parameter point.

Attributes

Definition Classes
Inherited from:
SqCoord
override def name1: String

1st parameter name.

1st parameter name.

Attributes

Definition Classes
Inherited from:
TCoord
override def name2: String

2nd parameter name.

2nd parameter name.

Attributes

Definition Classes
Inherited from:
TCoord
override def numParams: Int

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Persist2
override def opt1: Option[Int]

The optional default value for parameter 1.

The optional default value for parameter 1.

Attributes

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

The optional default value for parameter 2.

The optional default value for parameter 2.

Attributes

Definition Classes
Inherited from:
Tell2Plused
override def paramNames: StrArr

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Tell2

Attributes

Inherited from:
TCoord

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def rcStr: String

Attributes

Inherited from:
TCoord

Attributes

Inherited from:
TCoord
override def str: String

The most basic Show method, paralleling the strT method on ShowT type class instances.

The most basic Show method, paralleling the strT method on ShowT type class instances.

Attributes

Definition Classes
TellN -> Tell
Inherited from:
TellN
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
override def tell(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

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

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

Attributes

Definition Classes
TellN -> Tell
Inherited from:
TellN
override def tell1: Int

Element 1 of this Tell2+ element product.

Element 1 of this Tell2+ element product.

Attributes

Definition Classes
Inherited from:
TCoord
override def tell2: Int

Element 2 of this Tell2+ element product.

Element 2 of this Tell2+ element product.

Attributes

Definition Classes
Inherited from:
TCoord
final override def tellDepth: Int

The syntactic depth of the tell String for this object.

The syntactic depth of the tell String for this object.

Attributes

Definition Classes
Inherited from:
TellInt2
override def tellElemStrs(way: ShowStyle, decimalPlaces: Int, minPlaces: Int): StrArr

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

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

Attributes

Definition Classes
Inherited from:
Tell2
def tellSemisNames(maxPlaces: Int, minPlaces: Int): String

Attributes

Inherited from:
TellN
override def toPt2Reg: Pt2

Attributes

Definition Classes
Inherited from:
SqCoord
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Tell -> Any
Inherited from:
Tell
override def toVecReg: Vec2

Attributes

Definition Classes
Inherited from:
SqCoord

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist
def view(pxScale: Double): SGView

Attributes

Inherited from:
SqCoord

Implicits

Inherited implicits

final implicit override def show1: Show[Int]

Attributes

Definition Classes
Inherited from:
TellInt2
final implicit override def show2: Show[Int]

Attributes

Definition Classes
Inherited from:
TellInt2