AutoMovie API
    Preparing search index...

    Variable builtOpeningSweepEnvelopeConst

    builtOpeningSweepEnvelope: (
        environment: IAutoMovieBuiltEnvironment,
        openingId: string,
    ) => IAutoMovieOpeningSweep[] = ...

    The world volume each panel of an opening sweeps across its whole travel.

    The envelope is solved rather than sampled. Every corner of a turning leaf traces A + B cos(t) + D sin(t) under the panel's own placement, and an affine world matrix keeps that form, so each axis is a single cosine whose extremes are its endpoints and the critical angles the travel actually crosses. A sliding leaf is linear and reaches its extremes at its limits. Nothing here judges whether a person can pass the leaf: this is the volume a later clearance or collision analysis reads, not its verdict.

    The answer is per panel, and only that panel's own travel. Ancestors stand where the environment's current state puts them, so an inner folding leaf is measured against the outer leaf as it currently stands. That is the volume this leaf sweeps from where the design has it, not the union over every configuration a chain of leaves could reach between its named states. A caller wanting that union asks for each state in turn and takes the hull itself; inventing it here would quietly report a chain's envelope under one panel's name.

    Each entry is a world-space axis-aligned box over the four corners of the panel's width by height leaf, in panel order. An opening without an operation answers an empty list. Throws an Error when the opening does not exist, a panel's element is missing, or travel limits are non-finite, unordered, empty, exclude rest at zero, or span more than a full revolute turn plus AUTOMOVIE_FULL_TURN_EPSILON; these are the travel rules validateBuiltEnvironment applies.

    Type Declaration