AutoMovie API
    Preparing search index...

    One short rational cubic in deficit/height coordinates.

    interface IPatch<T = number> {
        angle: number;
        curvature: T;
        deficit: T;
        extent: T;
        height: T;
        native: T;
        points: readonly (readonly [T, T])[];
        weights: readonly T[];
    }

    Type Parameters

    • T = number
    Index
    angle: number

    Far endpoint polar angle, radians.

    curvature: T

    Shared geometric start curvature, inverse source length.

    deficit: T

    Positive x deficit at the far endpoint, same length unit.

    extent: T

    First support extent, in the source length unit.

    height: T

    Positive y at the far endpoint, same length unit.

    native: T

    Far endpoint in the original quadratic's native parameter.

    points: readonly (readonly [T, T])[]

    Four controls [x deficit / deficit, y / height].

    weights: readonly T[]

    Four positive rational weights; create normalizes the outer weights to one.