AutoMovie API
    Preparing search index...

    Function RecoveryChartAreaObservations

    • Integrate private piecewise-affine source observations inside axis-aligned leaves. Positive UV triangles are clipped at the tensor knots before a seven-by-seven Gauss rule on a Duffy triangle supplies physical-area weighted correspondences. An optional rectangular leaf partition replaces the tensor product; its open interiors must cover the unit square once. Every local map remains affine. For a bicubic field minus an affine source this integrates its squared residual exactly in real arithmetic. Binary64 arithmetic and continuous maximum error remain separate qualifications. No private source triangle leaves this operation. Optional physical-gradient frames are computed once per source-triangle/leaf intersection by thin QR. The same samples then stream two derivative rows; their squared polynomial degree is at most ten, within the same Gauss rule.

      Parameters

      • input: {
            maxObservations: number;
            parameters: readonly (readonly number[])[];
            physicalGradientLengthMm?: number;
            rectangles?: readonly (readonly [number, number, number, number])[];
            triangles: readonly (readonly [number, number, number])[];
            u: readonly number[];
            v: readonly number[];
            verticesMm: readonly (readonly [number, number, number])[];
        }
        • maxObservations: number

          Hard positive ceiling on the generated quadrature rows, including all clipped children.

        • parameters: readonly (readonly number[])[]

          Normalized [u,v] coordinates aligned with the supplied source observation vertices.

        • OptionalphysicalGradientLengthMm?: number

          Optional nonnegative millimetre exchange length multiplying physical derivatives; zero or omission disables that objective term.

        • Optionalrectangles?: readonly (readonly [number, number, number, number])[]

          Normalized source-chart rectangles [u0,v0,u1,v1] whose intersections are integrated separately.

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

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

        • u: readonly number[]

          Increasing normalized u-axis partition coordinates spanning the declared chart domain.

        • v: readonly number[]

          Increasing normalized v-axis partition coordinates spanning the declared chart domain.

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

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

      Returns {
          children: number;
          integratedAreaMm2: number;
          maximumRelativeAreaDiscrepancy: number;
          observations: {
              patch: number;
              physicalJet?: {
                  directions: readonly {
                      du: number;
                      dv: number;
                      targetMm: readonly [number, number, number];
                  }[];
              };
              pointMm: readonly [number, number, number];
              u: number;
              v: number;
              weight: number;
          }[];
          sourceAreaMm2: number;
      }

      • children: number

        Number of triangle/rectangle intersection children integrated by the quadrature pass.

      • integratedAreaMm2: number

        Area represented by accepted quadrature, in square millimetres; null means unavailable.

      • maximumRelativeAreaDiscrepancy: number

        Largest dimensionless relative mismatch between source and integrated child area; null means unavailable.

      • observations: {
            patch: number;
            physicalJet?: {
                directions: readonly {
                    du: number;
                    dv: number;
                    targetMm: readonly [number, number, number];
                }[];
            };
            pointMm: readonly [number, number, number];
            u: number;
            v: number;
            weight: number;
        }[]

        Weighted source-position and optional physical-gradient correspondences used by the coefficient fit.

      • sourceAreaMm2: number

        Area of the supplied physical source triangles, in square millimetres.