AutoMovie API
    Preparing search index...

    Interface IAutoMovieCompileSweepFeatureOutput

    A feature's compiled domain course and radial displacement field, shared by sweep evaluation and construction observations.

    The closures retain the compiled course coefficients and the feature width. Treat the source feature as immutable while they live. compileAutoMovieSweep admits the authored feature before compilation; these query signatures do not enforce finite arguments. Returned domain records are newly allocated and caller-owned.

    interface IAutoMovieCompileSweepFeatureOutput {
        displacement: (
            u: number,
            angle: number,
            local: number,
            length: number,
            guided: (u: number, angle: number) => number,
        ) => number;
        point: (t: number) => { u: number; v: number };
    }
    Index
    displacement: (
        u: number,
        angle: number,
        local: number,
        length: number,
        guided: (u: number, angle: number) => number,
    ) => number

    Signed radial change in metres, zero outside the feature band. Nearest-course search uses a local cylindrical metric and is not a global nearest-point guarantee.

    Type Declaration

      • (
            u: number,
            angle: number,
            local: number,
            length: number,
            guided: (u: number, angle: number) => number,
        ): number
      • Parameters

        • u: number

          Normalized spine coordinate of the query

        • angle: number

          Polar direction in radians about the section origin

        • local: number

          Positive pre-feature, unscaled radius at the query, in metres

        • length: number

          Spine polygon length in metres, scaling longitudinal differences

        • guided: (u: number, angle: number) => number

          Synchronous pre-feature unscaled radius evaluator taking u and radians and returning metres; called for absolute-radius features, never retained, and exceptions propagate

        Returns number

        Offset feature value, or absolute feature radius minus guided radius at the selected course point, multiplied by the compact band falloff

    point: (t: number) => { u: number; v: number }

    Domain point at a clamped share of the centripetal knot span; v is in unwrapped turns and a collapsed course is constant.