map

abstract fun <T, P : Position2D<P>> map(layers: Collection<Layer<T, P>>): Collection<Function<in P, out Number>>(source)

Effectively map the given layers, layers may be filtered too if the mapper is only able to map certain types of layers.


abstract fun <T, P : Position2D<P>> map(layers: Stream<Layer<T, P>>): Stream<Function<in P, out Number>>(source)

see LayerToFunctionMapper.map.