AutoMovie API
    Preparing search index...

    Interface IAutoMovieRecoveryPolylineInput

    Explicitly ordered physical observations for one named polynomial approximation. The caller establishes feature correspondence, order, closure and corners before fitting. RecoveryBezierFit.fit checks finite coordinates, at least two open or three closed observations, noncollapsed adjacent edges, corner indices and explicit positive work/tolerance limits. It throws on invalid input or exhausted spans; observeAutoMovieRecoveryPolyline converts that failure into its terminal result.

    interface IAutoMovieRecoveryPolylineInput {
        closed: boolean;
        corners: readonly number[];
        maxSpans: number;
        name: string;
        parameterization: "chord" | "centripetal";
        pointsMm: readonly (readonly [number, number, number])[];
        toleranceMm: number;
    }
    Index
    closed: boolean

    True only when the caller has established a closing last-to-first edge.

    corners: readonly number[]

    Observation indices with declared independent one-sided tangents.

    maxSpans: number

    Positive safe-integer output-span budget; exhaustion throws from the fitter without a coefficient result.

    name: string

    Stable semantic name retained by the fitted curve.

    parameterization: "chord" | "centripetal"

    Initial fitting weights; saved span widths remain physical arclength in millimetres.

    pointsMm: readonly (readonly [number, number, number])[]

    Borrowed ordered finite millimetre triples; closed paths omit the repeated endpoint.

    toleranceMm: number

    Positive full-polyline approximation tolerance, millimetres.