AutoMovie API
    Preparing search index...

    Interface IAutoMovieRecoveryOrderedContour

    Ordered raw plane-cut contour with exact source segment lineage. Point and cumulative lengths are registered millimetres; edge fractions are dimensionless and source triangle/edge ordinals address the original observation input. Contour order includes open, closed and unsupported publications.

    interface IAutoMovieRecoveryOrderedContour {
        closed: boolean;
        contourIndex: number;
        cumulativePolylineMm: number[];
        exactSourceTriangleIds: number[];
        points: {
            a: number;
            b: number;
            p: readonly [number, number, number];
            sourceEdges?: {
                a: number;
                b: number;
                pointMm: readonly [number, number, number];
                t: number;
            }[];
            t: number;
        }[];
        publication: | { curveName: string; kind: "closed"; loopIndex: number }
        | { curveName: string; kind: "open"; reportIndex: number }
        | { kind: "degenerate" }
        | { diagnostic: string; kind: "failed" };
        segments: {
            endMm: number;
            from: number;
            id: string;
            originalTriangleIds: number[];
            startMm: number;
            to: number;
        }[];
        sourceTriangleIds: number[];
        totalPolylineMm: number;
    }
    Index
    closed: boolean

    Closure follows the exact cutter's graph walk, never an invented cap.

    contourIndex: number

    Raw ordinal before fitting or rejection, in this saved physical plane.

    cumulativePolylineMm: number[]

    Chord phase at each raw point, starting at zero; closed closure has a separate final segment.

    exactSourceTriangleIds: number[]

    Original faces that actually emitted this contour or isolated contact.

    points: {
        a: number;
        b: number;
        p: readonly [number, number, number];
        sourceEdges?: {
            a: number;
            b: number;
            pointMm: readonly [number, number, number];
            t: number;
        }[];
        t: number;
    }[]

    Ordered registered observations; p and each witness point are mm, t is dimensionless.

    Type Declaration

    • a: number

      First canonical connectivity label of the cutter point's supporting edge or vertex.

    • b: number

      Second canonical connectivity label; a==b denotes an on-plane vertex.

    • p: readonly [number, number, number]

      Physical point selected by the existing canonical cutter, not a representative vertex interpolation.

    • OptionalsourceEdges?: { a: number; b: number; pointMm: readonly [number, number, number]; t: number }[]

      Opt-in original edge aliases; omission means the trace cannot assert their original addresses.

    • t: number

      Cutter fraction oriented with canonical a/b; it is not a fitted curve phase.

    publication:
        | { curveName: string; kind: "closed"; loopIndex: number }
        | { curveName: string; kind: "open"; reportIndex: number }
        | { kind: "degenerate" }
        | { diagnostic: string; kind: "failed" }

    Original closed/open/failed/degenerate publication, preserved independently of new traces.

    Type Declaration

    • { curveName: string; kind: "closed"; loopIndex: number }
      • curveName: string

        Stable saved coefficient identity, retained without inferring anatomical or material correspondence.

      • kind: "closed"

        Closed representation discriminator selecting the corresponding observation or result arm.

      • loopIndex: number

        Closed-loop ordinal within the saved section's admitted loop array.

    • { curveName: string; kind: "open"; reportIndex: number }
      • curveName: string

        Stable saved coefficient identity, retained without inferring anatomical or material correspondence.

      • kind: "open"

        Closed representation discriminator selecting the corresponding observation or result arm.

      • reportIndex: number

        Ordinal in the saved section's open-fit report array.

    • { kind: "degenerate" }
      • kind: "degenerate"

        Closed representation discriminator selecting the corresponding observation or result arm.

    • { diagnostic: string; kind: "failed" }
      • diagnostic: string

        Reason this particular result is unavailable or qualified only within a stated numerical scope.

      • kind: "failed"

        Closed representation discriminator selecting the corresponding observation or result arm.

    segments: {
        endMm: number;
        from: number;
        id: string;
        originalTriangleIds: number[];
        startMm: number;
        to: number;
    }[]

    Directed emitted graph segments in point order, including all source faces for each contribution.

    Type Declaration

    • endMm: number

      End in physical chord mm, retaining actual final closure width.

    • from: number

      Index into points at the directed segment start.

    • id: string

      Cutter graph-edge identity, interpreted only within this input cut.

    • originalTriangleIds: number[]

      Complete native face ordinals emitting this directed contribution, not endpoint-star supersets.

    • startMm: number

      Start of this original polyline segment in physical chord mm.

    • to: number

      Index into points at the end; zero on a genuine closing edge.

    sourceTriangleIds: number[]

    Broad original face support, including incident neighbors; not exact emitting membership.

    totalPolylineMm: number

    Full physical chord perimeter/length including a closed final edge; zero for an isolated contact.