Homesplat-transform API Reference - v3.3.0
    Preparing search index...

    Type Alias LodStats

    Per-LOD column statistics: identity (lod, numGaussians), the column-name axis (columns), and the aligned measurement arrays (data). JSON.stringify of this is the stats JSON output shape (NaN fields — e.g. an all-NaN column's min — serialize as null).

    type LodStats = {
        columns: string[];
        data: LodStatsData;
        fillRatio?: number;
        lod: number;
        numGaussians: number;
    }
    Index
    columns: string[]

    Canonical column names; every array in data aligns with this order.

    The column-aligned measurement arrays.

    fillRatio?: number

    Fill (overdraw) ratio: total splat footprint area (1-sigma ellipse over the two largest linear scales, summed) divided by the scene's robust cross-section (mean face area of the p1-p99 extent box, floored at the median splat footprint when the extents are degenerate). Approximates the average number of splat layers a ray through the scene crosses: healthy scenes land in the ones-to-hundreds; scenes that will overwhelm a GPU with fill (zero-padded exports, garbage scales, deliberately adversarial content) land orders of magnitude higher, so backends can gate publishes on it. A +Infinity scale propagates to Infinity (serialized as null in JSON) — reject those outright. Present when the source has position and geometric data.

    lod: number

    The LOD level these statistics describe.

    numGaussians: number

    Gaussian count of this LOD.