Expand description

Eightfold

crates.io docs.rs LGPL 3.0 or later

A library for spatial partitioning of 3D data. Built with nalgebra.

See Also

References

[1] Michael Schwarz and Hans-Peter Seidel. 2010. Fast parallel surface and solid voxelization on GPUs. ACM Trans. Graph. 29, 6, Article 179 (December 2010), 10 pages. https://doi.org/10.1145/1882261.1866201

Modules

Macros

Create a StableVec containing the arguments, as with std::vec![].

Structs

A depth-first iterator over leafs in an Octree.
The coordinates of a node within an octree, including its depth. { X, Y, Z, D }
A way to refer to octants in a 3D volume.
A data structure for partitioning data in a 3D space.
Indices of data within an Octree.
A slice representing a subset of an Octree.

Enums

Errors related to Octrees.
The type of data pointed to by a Proxy and the index of that data.

Traits

Define how to merge two leaves at the same depth into a single instance, to allow collapsing Octree branches.
Define a method for merging two leaf references into a single leaf, to allow sampling leaf data over an entire branch.
Trait for Octree references.
Trait alias for types which can act as indices within an Octree.

Type Definitions

The coordinates of a voxel within an octree’s voxel grid.