Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface BaseChunkSpatialIndex

    Base interface for chunk-based spatial indices.

    All three data types use similar chunk-based spatial indexing:

    • Morton/Hilbert ordering for locality
    • Bounding boxes per chunk
    • Query by nD slice position + tolerance

    — preserved for future use; no current consumer.

    interface BaseChunkSpatialIndex {
        chunkBounds: Float32Array;
        chunkCount: number;
        metadata: { ndim: number; ordering: OrderingMethodName };
    }
    Index
    chunkBounds: Float32Array

    Chunk bounding boxes (num_chunks * ndim * 2), flattened row-major

    chunkCount: number

    Number of chunks

    metadata: { ndim: number; ordering: OrderingMethodName }

    Base metadata fields shared across all types