AutoMovie API
    Preparing search index...

    Function observeRecoverySourceTerminals

    • Observe actual distal extrema and PL critical brackets from existing source-loop incidence. The open half-space is bounded above by the next representable value beyond the source maximum. Private vertex-face probes let the existing slab graph identify exactly the seeded indexed-source component; original point positions are published only as measured extrema and critical event observations. A one-tip result requires unique incidence, two-use original edges, one nonflat manifold maximum and no other critical event; branch and plateau observations remain explicit.

      Parameters

      • input: {
            axis: [number, number, number];
            checkpoint?: () => void;
            heights: readonly number[];
            prepared: {
                aliases: Map<string, number>;
                canon: Int32Array;
                edgeKey: (a: number, b: number) => string;
                faceEdges: Map<string, Set<number>>;
                mesh: {
                    canon: Int32Array;
                    triangles: [number, number, number][];
                    vertices: [number, number, number][];
                };
                vertexFaces: Map<number, Set<number>>;
            };
            seeds: readonly {
                coordinateMm: number;
                curveName: string;
                faces: ReadonlySet<number>;
                loopIndex: number;
            }[];
        }
        • axis: [number, number, number]

          Registered unit sweep axis; its direction fixes signed section coordinates.

        • Optionalcheckpoint?: () => void

          Synchronous cooperative cancellation/work checkpoint; a thrown exception aborts the current operation.

        • heights: readonly number[]

          Finite scalar projections aligned with source vertices, in the same units as query levels.

        • prepared: {
              aliases: Map<string, number>;
              canon: Int32Array;
              edgeKey: (a: number, b: number) => string;
              faceEdges: Map<string, Set<number>>;
              mesh: {
                  canon: Int32Array;
                  triangles: [number, number, number][];
                  vertices: [number, number, number][];
              };
              vertexFaces: Map<number, Set<number>>;
          }

          Source incidence or chart preparation shared by the operation; its borrowed arrays remain stable for the pass.

          • aliases: Map<string, number>

            Exact-position serialization key to the first admitted canonical vertex index.

          • canon: Int32Array

            One in-range canonical connectivity index per original vertex; this does not move source coordinates.

          • edgeKey: (a: number, b: number) => string

            Returns a deterministic undirected key from two connectivity indices without comparing positions.

          • faceEdges: Map<string, Set<number>>

            Canonical undirected edge identity to original incident-face set.

          • mesh: {
                canon: Int32Array;
                triangles: [number, number, number][];
                vertices: [number, number, number][];
            }

            Registered source mesh borrowing its original positions and faces with the admitted canonical connectivity array.

            • canon: Int32Array

              One in-range canonical connectivity index per original vertex; this does not move source coordinates.

            • triangles: [number, number, number][]

              Oriented triangle vertex-index triples addressing the paired position array; indices are not control IDs.

            • vertices: [number, number, number][]

              Physical vertex positions in the registered millimetre chart, aligned with the supplied triangle indices.

          • vertexFaces: Map<number, Set<number>>

            Original vertex index to incident original-face set; borrowed for this observation pass.

        • seeds: readonly {
              coordinateMm: number;
              curveName: string;
              faces: ReadonlySet<number>;
              loopIndex: number;
          }[]

          Saved terminal-loop observations with their original plane and exact source-face support.

      Returns IAutoMovieRecoverySourceTerminal[]