Bidimensional Gaussian Layers Mapper
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
Types
Functions
Link copied to clipboard
open override fun <T, P : Position2D<P>> map(layers: Stream<Layer<T, P>>): Stream<Function<in P, out Number>>
Content copied to clipboard
open override fun <T, P : Position2D<P>> map(layers: Collection<Layer<T, P>>): Collection<Function<in P, out Number>>
Content copied to clipboard
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>>, env: Environment<T, P>, g: Graphics2D, wormhole: Wormhole2D<P>)
Content copied to clipboard
Prepare the mapping (if necessary).