AutoMovie API
    Preparing search index...

    Interface IAutoMovieSurfaceRegistry

    The vertices of a surface rig by identity, each with the writer that evaluates it per pose, from registerAutoMovieSurfaceVertices. Registration, binding and finalization are allowed only before finalization; afterward only count, identity lookup and the resolved writers remain usable. A binding failure leaves the registry terminal and releases its compile-only records.

    interface IAutoMovieSurfaceRegistry {
        writers: ((targets: Float64Array) => void)[];
        admit(sample: IAutoMovieSurfaceSample): number;
        bindSweep(key: string, bind: (sample: ISweep | null) => void): void;
        count(): number;
        existing(key: string, what: string): number;
        finalize(): void;
        reserve(key: string): number;
        vertex(
            key: string,
            make: () => (out: Float64Array, at: number) => void,
        ): number;
    }
    Index
    writers: ((targets: Float64Array) => void)[]

    Writers in registration order, each filling its vertices into a target buffer.

    • Bind a dependent evaluator after every sweep cell has been resolved, before the sweep rigs are sealed.

      The callback receives the geometric writer and cell, independent of pinned cage controls. An identity not registered as a sweep sample receives null; an observational node then keeps its raw zero-cell meaning. The callback runs once during finalize and may register sweep samples or probes, but cannot add registry entries.

      Parameters

      • key: string

        Exact shared sample identity

      • bind: (sample: ISweep | null) => void

        One-time compile callback; its reference is released after finalization, including failure

      Returns void

      Error if the registry has been finalized

    • Resolve every sweep writer from its finest reported spacing, mirror missing sides and zero wholly unreached axes, then run dependent bindings before sweep sealing. Registration and repeated finalization are refused afterward; temporary records are cleared even if a binding throws.

      Returns void

    • Register a point by identity, making its writer only when it is new.

      Parameters

      • key: string

        Identity

      • make: () => (out: Float64Array, at: number) => void

        Makes the point's writer

      Returns number

      Its index