Layer

fun interface Layer<T, P : Position<out P>>(source)

A substance or a molecule with a spatial distribution whose values may change over time, associated with an Environment during setup.

Type Parameters

T

the type of the value measuring the substance at a position

P

the position type

Functions

Link copied to clipboard
open fun currentValueAt(position: P): T

The current value at position.

Link copied to clipboard
abstract fun valueAt(position: P): Observable<T>

The value at position, as an observable emitting every change of that value.