IFClite TypeScript API
    Preparing search index...

    Interface CreateDecodeWorkerSourceOptions

    interface CreateDecodeWorkerSourceOptions {
        blob: Blob;
        format: DecodeWorkerFormat;
        label?: string;
        originOffset?: readonly [number, number, number];
        spawn?: () => Worker | Promise<Worker>;
        stride?: number;
    }

    Hierarchy (View Summary)

    Index
    blob: Blob
    label?: string
    originOffset?: readonly [number, number, number]

    See decodeLasPoints's originOffset param (issue #1804); every format decoder consumes it (E57/PLY/PCD/PTS/XYZ alongside LAS/LAZ).

    spawn?: () => Worker | Promise<Worker>

    Override the worker constructor — useful for tests or custom bundlers. May return a Worker synchronously or a Promise resolving to one; the client handles both. Sync callbacks remain the common case and stay type-compatible with the previous signature.

    stride?: number

    stride>1 → drop every Nth point on decode for memory bounds.