AutoMovie API
    Preparing search index...

    Function sampleAutoMovieParameterSweep

    • Register a fixed-cell Cartesian section average for parameter correspondence.

      Parameter correspondence pairs the curve parameter, so an off-axis, concave section or an authored origin cannot be reconstructed from a polar radius. The tensor trapezoid first averages the unscaled two-dimensional shape over v, then its scaled points over u, in the centre frame just as the radial writer does. The u-dependent scale belongs inside that second average. Direction-correspondence radius averaging remains with rigAutoMovieSweep.

      Each signed coordinate is normalized by its largest magnitude before the weighted sum. This avoids overflow in the sum and preserves an ordinary positive subnormal constant. A genuine cancelling mean may be the origin; only a nonzero normalized result lost in multiplication is refused. Scale products, positive weights and world coordinates are admitted before output publication. A rejected write leaves the caller's output buffer unchanged.

      Parameters

      Returns (out: Float64Array, offset: number) => void

      The allocation-free writer in model metres

      Error for nonfinite source coordinates, invalid or unrepresentable cell reaches/weights, scale products, signed means or world coordinates; write failures preserve the output buffer.