building_blocks_storage 0.2.1

Efficient storage for maps on sparse or dense, 2D and 3D integer lattices.
Documentation

Various types of storage for "lattice maps," functions defined on N-dimensional integer lattices.

The core storage types are:

  • ArrayN: N-dimensional, dense array
  • ChunkMap: N-dimensional, sparse array

Then there are "meta" lattice maps that provide some extra utility:

  • TransformMap: a wrapper of any kind of lattice map that performs an arbitrary transformation
  • Fn(&PointN<N>): some lattice map traits are implemented for functions (like SDFs)