[−][src]Function hilbert::transform::fast_hilbert::hilbert_axes
pub fn hilbert_axes(
hilbert_index: &BigUint,
bits: usize,
dimensions: usize
) -> Vec<u32>
Convert a Hilbert index (the distance from the origin along the Hilbert curve represented as a BigUint) into normal N-space coordinates.
Note: This is the most caller-friendly transformation from Hilbert to N-space and performs two transformations, from the BigUint to transposed form, then from transposed form to coordinates (via the inverse Hilbert transform).
- hilbertIndex - 1-dimensional Distance from origin along the Hilbert curve.
- bits - Number of bits used to encode each dimension.
- dimensions - Number of dimensions in N-space.
- returns - N-dimensional coordinate.