HCenArrLayer

ostrat.prid.phex.HCenArrLayer
class HCenArrLayer[A](val unsafeArray: Array[Array[A]])

A HGridSys HCen data layer of RArrs.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(hc: HCen)(implicit grider: HGridSys): RArr[A]
def apply(r: Int, c: Int)(implicit grider: HGridSys): RArr[A]
def gridHeadsFlatMap[BB <: Arr[_]](f: (HCen, A) => BB)(implicit grider: HGridSys, build: ArrFlatBuilder[BB]): BB

flatMaps over the the first element of each tile's data Array. Ignores empty arrays and subsequent elements.

flatMaps over the the first element of each tile's data Array. Ignores empty arrays and subsequent elements.

Attributes

def gridHeadsMap[B, BB <: Arr[B]](f: (HCen, A) => B)(implicit grider: HGridSys, build: ArrMapBuilder[B, BB]): BB

flatMaps over the the first element of each tile's data Array. Ignores empty arrays and subsequent elements.

flatMaps over the the first element of each tile's data Array. Ignores empty arrays and subsequent elements.

Attributes

def prepend(r: Int, c: Int, value: A)(implicit grider: HGridSys, ct: ClassTag[A]): Unit
def prepend(hc: HCen, value: A)(implicit grider: HGridSys, ct: ClassTag[A]): Unit
def projSomeHcPtMap[B, ArrB <: Arr[B]](f: (A, HCen, Pt2) => B)(implicit proj: HSysProjection, build: ArrMapBuilder[B, ArrB]): ArrB

Uses projection to map the head data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.

Uses projection to map the head data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.

Attributes

def projSomeHcPtMap[B, ArrB <: Arr[B]](proj: HSysProjection)(f: (A, HCen, Pt2) => B)(implicit build: ArrMapBuilder[B, ArrB]): ArrB

Uses projection to map the Some head value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.

Uses projection to map the Some head value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.

Attributes

def set(r: Int, c: Int, value: A)(implicit grider: HGridSys, ct: ClassTag[A]): Unit
def set(hc: HCen, values: A*)(implicit grider: HGridSys, ct: ClassTag[A]): Unit
def setSame(value: A, hcs: HCen*)(implicit grider: HGridSys, ct: ClassTag[A]): Unit

Concrete fields