AutoMovie API
    Preparing search index...

    The joined ring.

    interface ISectors {
        at: (t: number) => AutoMovieVector2Tuple;
        find: (v: number, pieces: number[]) => number;
        start: (index: number) => number;
    }
    Index
    at: (t: number) => AutoMovieVector2Tuple

    Section point in millimetres at ring phase t in radians, wrapped over a full turn and interpolated by each piece's sampled arclength.

    find: (v: number, pieces: number[]) => number

    Find the first crossing or exact vertex of across coordinate v in millimetres, in the listed piece order, returning ring phase in radians. If no crossing exists, notify the join callback and return the vertex with the smallest across-coordinate distance, including terminal endpoints; equal distances keep the first vertex. The listed indices must name nonempty pieces with positive sampled length. This is a one-coordinate polyline query, not Euclidean distance to a continuous source curve.

    start: (index: number) => number

    Ring phase in radians of a zero-based piece's start; index must address the pieces supplied to join.