AutoMovie API
    Preparing search index...

    Function RecoveryFeatureChartCutsSubdivide

    • Subdivide colliding feature edges using the unchanged exact midpoint arithmetic.

      Parameters

      • input: {
            featureEdges: readonly IAutoMovieRecoveryIndexedCrease[];
            occurrenceKeys: readonly string[];
            physicalKeys: readonly string[];
            triangles: readonly (readonly [number, number, number])[];
            triangleSourceFaces: readonly number[];
            verticesMm: readonly (readonly [number, number, number])[];
        }
        • featureEdges: readonly IAutoMovieRecoveryIndexedCrease[]

          Original source crease edges admitted by the declared angular policy, retaining both incident face owners.

        • occurrenceKeys: readonly string[]

          Per-vertex sheet-occurrence identities; coincident occurrences may retain distinct entries.

        • physicalKeys: readonly string[]

          Per-vertex physical incidence identities shared only under declared source equality.

        • triangles: readonly (readonly [number, number, number])[]

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

        • triangleSourceFaces: readonly number[]

          One original source-face ordinal per current chart triangle, preserving subdivision provenance.

        • verticesMm: readonly (readonly [number, number, number])[]

          Borrowed physical positions in the registered millimetre frame; indices in triangles address this array.

      • source: IAutoMovieRecoveryObservedMeshTopology
      • features: Map<string, IAutoMovieRecoveryIndexedCrease>
      • collisions: Set<string>
      • physicalPositions: Map<string, readonly [number, number, number]>
      • analyze: (
            vertices: readonly (readonly [number, number, number])[],
            triangles: readonly (readonly [number, number, number])[],
        ) => IAutoMovieRecoveryObservedMeshTopology
      • fail: (reason: string) => never
      • edge: (a: number, b: number) => string
      • lex: (a: string, b: string) => number

      Returns {
          diagnostics: string[];
          expanded: Map<string, IAutoMovieRecoveryIndexedCrease>;
          insertions: {
              edgeKeys: [string, string];
              fractionFromFirst: number;
              key: string;
              pointMm: readonly [number, number, number];
          }[];
          observationDisplacementUpperMm: number;
          occurrences: string[];
          owners: number[];
          parents: number[];
          physical: string[];
          subdivided: IAutoMovieRecoveryObservedMeshTopology;
          triangles: [number, number, number][];
          vertices: (readonly [number, number, number])[];
      }

      • diagnostics: string[]

        Observed admission failures and qualification limits in production order; an empty array adds no extra certificate.

      • expanded: Map<string, IAutoMovieRecoveryIndexedCrease>

        Crease-edge registry after required edge subdivision, retaining original feature ownership.

      • insertions: {
            edgeKeys: [string, string];
            fractionFromFirst: number;
            key: string;
            pointMm: readonly [number, number, number];
        }[]

        Admitted new boundary vertices with original edge identities and explicit interpolation fractions.

      • observationDisplacementUpperMm: number

        Reported upper displacement introduced by admitted source-chart subdivision, in millimetres.

      • occurrences: string[]

        Directed halfedge occurrences retained in actual source-cell traversal order.

      • owners: number[]

        Ownership registry binding retained domain or generated fragment identities to their declared source-free owners.

      • parents: number[]

        Original source-triangle ordinal for each subdivided triangle.

      • physical: string[]

        Physical incidence identities aligned with the current vertex array.

      • subdivided: IAutoMovieRecoveryObservedMeshTopology

        Topology of the subdivided observation mesh before chart-local extraction.

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

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

      • vertices: (readonly [number, number, number])[]

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