TCenLayer

ostrat.prid.TCenLayer
trait TCenLayer[A <: AnyRef] extends RefsSeqLike[A]

An Array of tile centre data of type A. An appropriate SqGrid or HGrid is required to utilise its functionality.

Attributes

Graph
Supertypes
trait RefsSeqLike[A]
trait SeqLike[A]
class Any
Known subtypes
class HCenLayer[A]
class SqCenLayer[A]

Members list

Concise view

Type members

Inherited types

type ThisT <: RefsSeqLike[A]

Gives the final type of this class.

Gives the final type of this class.

Attributes

Inherited from:
RefsSeqLike

Value members

Abstract methods

The mutable backing Array. End users should rarely if ever have to access this field

The mutable backing Array. End users should rarely if ever have to access this field

Attributes

Concrete methods

def foreach[U](f: A => U): Unit

For each element in the underlying array performs the side effecting function. This method treats the TCenLayer class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenLayer was created.

For each element in the underlying array performs the side effecting function. This method treats the TCenLayer class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenLayer was created.

Attributes

final def length: Int

The number of tile centres this array of data represents.

The number of tile centres this array of data represents.

Attributes

def map[B, BB <: Arr[B]](f: A => B)(implicit build: ArrMapBuilder[B, BB]): BB

Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.

Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.

Attributes

final def mutSetAll(value: A): Unit

Set all tiles to the given value.

Set all tiles to the given value.

Attributes

Inherited methods

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Attributes

Inherited from:
SeqLike
final override def fElemStr: (A) => String

Attributes

Definition Classes
Inherited from:
RefsSeqLike
def fromArray(array: Array[A]): ThisT

Attributes

Inherited from:
RefsSeqLike
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
SeqLike -> Any
Inherited from:
SeqLike

String specifying the type of this object.

String specifying the type of this object.

Attributes

Inherited from:
SeqLike
final override def unsafeSetElem(i: Int, value: A): Unit

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Definition Classes
Inherited from:
RefsSeqLike
def unsafeSetElems(index: Int, elems: A*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Inherited from:
SeqLike