IFClite TypeScript API
    Preparing search index...

    Interface OpenCopcOptions

    interface OpenCopcOptions {
        hierarchyLimits?: CopcHierarchyLimits;
        originOffset?: readonly [number, number, number];
        signal?: AbortSignal;
        source: CopcSourceDescriptor;
        spawn?: () => Worker | Promise<Worker>;
    }

    Hierarchy (View Summary)

    Index
    hierarchyLimits?: CopcHierarchyLimits
    originOffset?: readonly [number, number, number]

    Native offset subtracted in f64 before narrowing to f32 (#1804).

    signal?: AbortSignal
    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.