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

    Module data/loaders/chunk-bounds-loader

    Shared chunk-bounds zarr probe used by Points, Lines, and GSplats loaders.

    All three geometry types expose a chunk_bounds (or vertex_chunk_bounds / segment_chunk_bounds) array of shape (numChunks, ndim, 2) storing per-chunk min/max bounds along each dimension. The fetch logic — open the zarr array, decode the data, soft-fallback on 404 / Not Found — is the same for every caller, so it lives here.

    Loader-specific shape validation, dimensionality reconciliation, and metadata wrapping stay in the individual loaders, which receive the raw Float32Array plus the original zarr shape from this helper.

    ChunkBoundsArray
    fetchChunkBoundsArray