AutoMovie API
    Preparing search index...

    Variable validateBuiltPanelFitConst

    validateBuiltPanelFit: (
        environment: IAutoMovieBuiltEnvironment,
        root: string,
        faces: ReadonlyMap<string, IAutoMovieBoundaryFace>,
        hulls: ReadonlyMap<number, IAutoMoviePlanarPoint[]>,
        collector: IAutoMovieViolationCollector,
    ) => void = ...

    Refuse a closed leaf that does not fit the void it fills.

    The leaf is measured where it actually rests, every member at zero travel, projected into the host boundary's own frame, so a leaf and a void authored in unrelated coordinates disagree here instead of at render time. Nothing is said about a leaf smaller than its void: two leaves sharing one opening, or a sash inside a frame, are ordinary designs, while a leaf larger than its own hole is not a design at all.

    Only the two in-plane coordinates are compared. How far the leaf sits in front of or behind the face is a design freedom, not an error: a leaf in a rebate, a storm sash outside the frame, and a surface-mounted sliding leaf all rest off the face's own plane on purpose.

    Containment is the same test a void gets against its face, so a leaf that spans the notch of a concave void is refused even though each of its corners is inside. The leaf is the width by height rectangle in its element's local XY plane from the element origin. An opening without an operation, a usable hull or a usable host face is skipped, because those defects are reported on their own paths. Findings are pushed at each refused panel's path.

    Type Declaration