[][src]Module psyche_utils::grid

Tool used to store and sample grid-like data.

Structs

Grid

Collection that holds data in 2d grid-like manner. Grid can be:

GridSamplerCluster

Grid sampler that sum fields contained by cluster bounds.

GridSamplerDistance

Grid sampler that uses field distance to center and maximum range - each field is scaled by weight produced from that distance-in-range equation.

Traits

GridSampleZeroValue

Trait used to obtain zero value for given type. It is used by built-in samplers and it's implemented for f32 and f64 types so if you want to sample any other type of grid, you have implement this trait for that type.

GridSampler

Trait used to sample pair of single value and weight from grid.