AutoMovie API
    Preparing search index...
    • The mean chart distance from a cycle's points to a loop, for matching a drawn-cell cycle to its loop.

      Parameters

      • loop: IAutoMovieSolidMesh.ILoop

        The loop.

      • points: readonly [number, number][]

        The cycle's chart points.

      • period: number | undefined

        The face's phase period, or undefined.

      Returns number

      The mean distance. Coordinates use their raw chart units, so this ranking is not a world-distance or topology certificate. No points gives NaN; no loop segments gives infinite distance for each nonempty point query.