AutoMovie API
    Preparing search index...

    Interface Polyline

    Connected ordered source section, retaining explicit closure instead of an artificial cap.

    interface Polyline {
        closed: boolean;
        exactSourceTriangleIds?: readonly number[];
        orderedSegments?: { id: string; sourceTriangleIds: number[] }[];
        pts: CutPoint[];
    }
    Index
    closed: boolean

    True only when canonical source-cut adjacency returns to the first point.

    exactSourceTriangleIds?: readonly number[]

    Optional acquisition provenance: original faces that emitted an actually visited cut segment or isolated contact, excluding unrelated endpoint-star neighbors. Omitted unless explicitly retained by the cutter.

    orderedSegments?: { id: string; sourceTriangleIds: number[] }[]

    Opt-in directed graph-walk order; omitted by default and empty for contacts.

    Type Declaration

    • id: string

      Private graph edge; array order follows consecutive pts and actual closure.

    • sourceTriangleIds: number[]

      Original input faces emitting this contribution, excluding endpoint-star neighbors.

    pts: CutPoint[]

    Ordered intersections; closure does not duplicate the first endpoint.