octarr 0.1.0

Octarr is a dynamic cubic octree capable of storing class data, accessed via indexers
Documentation
  • Coverage
  • 0%
    0 out of 39 items documented0 out of 31 items with examples
  • Size
  • Source code size: 18.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.64 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 24s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • naomijub/octarr
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • naomijub

Octarr

Stands for octree based 3D array.

Octarr is a dynamic cubic octree capable of storing class data, accessed via indexers. It is a rust port of https://github.com/swift502/Octarr and inspired by https://github.com/marknefedov/cubic-octree.

Adapted from swift502/Octarr

"Basically a generic near endless 3D array, which can be accessed like regular arrays and grows and shrinks depending on how much space needs to be allocated. Location index can be positive or negative in any direction. Octarr is centered around the zero coordinate (0, 0, 0), and grows and shrinks from and to this zero coordinate.

Unlike multidimensional or jagged arrays, octarr is memory friendly. You can write a data block at the [i128::MAX, i128::MAX, i128::MAX] position and not run out of memory. Octree node lookups have logarithmic complexity. Octarr is internally using the i128 data type to allow for unconstrained data location."

Usage

[dependencies]
octarr = "0.1"