AutoMovie API
    Preparing search index...

    Variable autoMoviePatternFindingsConst

    autoMoviePatternFindings: (
        pattern: IAutoMovieSurfacePattern,
        placements: readonly IAutoMoviePatternPlacement[],
    ) => IAutoMoviePatternFinding[] = ...

    Measure every laid piece and every neighbouring pair against the declaration.

    Per-piece findings come first, in placement order, so a defect that belongs to one piece is never buried under the pair findings its neighbours produced: a sliver when its surviving coverage is below minimumPiece, and an unsupported-piece when an exclusion punched it, because the convex procedural kernel has no boolean difference to build that piece. Pair findings follow for each piece against its later neighbours in placement order: a module-overlap when the pieces interpenetrate, otherwise, within the adjacency gap, a joint-deviation when the joint is off joint by more than jointTolerance, and a grain-break when the grain turns by more than grainToleranceDeg, unless that tolerance is null.

    Candidate pairs share a centre bucket or one of its eight neighbours. The cell width is the largest module diagonal plus adjacency. With finite, well-scaled generated convex geometry, Euclidean-near pieces fit this broad phase because each lies within half its module diagonal of its centre. Partners are sorted by placement index before measurement.

    The narrow phase uses the largest edge-normal projection gap, not Euclidean distance. A diagonally distant pair inside neighbouring buckets can therefore still report a small joint; a projection-close pair outside those buckets is not tested. Findings describe this combined bucket/projection policy, not exhaustive Euclidean or projection-gap neighbourhoods. Measurements use clipped outlines rather than uncut module rectangles.

    Type Declaration