voxj_codec/position_encoding.rs
1/// The encoding used for a voxel-position block.
2#[derive(Clone, Copy, Debug, Eq, PartialEq)]
3pub enum PositionEncoding {
4 /// One `[x, y, z]` triple per voxel.
5 RawJson,
6
7 /// Dense occupancy bitmap over `bounds`, base64-encoded.
8 BitmapBase64,
9
10 /// Prefix-sum deltas of each voxel's 3D Hilbert index,
11 /// varint+base64-encoded.
12 Hilbert,
13}