AutoMovie API
    Preparing search index...
    • Phase of every polygon vertex under a rule.

      Polar phases are unwrapped and monotone. Sagittal phases lie in [0, 2pi) and wrap once at the front anchor. Evaluation of a harmonic curve is periodic, so both forms address the same points.

      The rule's reference point is the polygon's area centroid, computed here rather than supplied. A vertex mean would depend on how densely each stretch of the outline happens to be sampled, so recovered spans of uneven length would jitter the phase origin from section to section and twist the correspondence; the area centroid depends only on the outline.

      Parameters

      • rule: IAutoMovieLoftParameter.Rule

        Correspondence rule of the owning chain.

      • polygon: readonly (readonly [number, number])[]

        Closed polygon [x, z] in mm, front-to-+Z orientation, without a repeated last point.

      Returns number[]

      Phase in radians of every polygon vertex.