BidimensionalGaussianLayersMapper

Maps BidimensionalGaussianLayers, it ignores any other layer.

This class also manages to infer optimal min and max layer values automatically so the user does not have to set them by hand.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T, P : Position2D<P>> map(layers: Stream<Layer<T, P>>): Stream<Function<in P, out Number>>
open override fun <T, P : Position2D<P>> map(layers: Collection<Layer<T, P>>): Collection<Function<in P, out Number>>

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

Link copied to clipboard
open override fun <T, P : Position2D<P>> prepare(effect: DrawLayersValues, toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, g: Graphics2D, wormhole: Wormhole2D<P>)

Prepare the mapping (if necessary).