AutoMovie API
    Preparing search index...

    Variable validateBuiltEnvironmentConst

    validateBuiltEnvironment: (
        props: IAutoMovieValidateBuiltEnvironment.IProps,
    ) => IAutoMovieValidation = ...

    Validate the graph, geometry references, and spatial topology of a building.

    Checks, in order: schema version 1 and metre units; owned models through validateModel and runtime model references; logical spaces with their cells or closed shells; the element and space hierarchies for dangling parents and cycles; populations; ownership by exactly one building unit; boundaries and their faces; openings, their voids inside the host face, their operations, and void overlap on one boundary; connectors, their route shape, landings and operations; and the support surfaces through validateSpace. Only when none of that produced an error does it run the staged checks: every closed panel fits its void, every carriage stands inside the stated-volume space its state serves, and no operating state composes shear into the element hierarchy.

    Record defects are collected with $input paths, warnings included. Typed containers and executable traversal depth remain premises; this is not a universal non-throw guarantee for arbitrary runtime values or resource exhaustion. Guarded lowering and downstream consumers refuse a rejected record.

    Type Declaration

      • (props: IAutoMovieValidateBuiltEnvironment.IProps): IAutoMovieValidation
      • Parameters

        • props: IAutoMovieValidateBuiltEnvironment.IProps

          Validate the graph, geometry references, and spatial topology of a building.

          Checks, in order: schema version 1 and metre units; owned models through validateModel and runtime model references; logical spaces with their cells or closed shells; the element and space hierarchies for dangling parents and cycles; populations; ownership by exactly one building unit; boundaries and their faces; openings, their voids inside the host face, their operations, and void overlap on one boundary; connectors, their route shape, landings and operations; and the support surfaces through validateSpace. Only when none of that produced an error does it run the staged checks: every closed panel fits its void, every carriage stands inside the stated-volume space its state serves, and no operating state composes shear into the element hierarchy.

          Record defects are collected with $input paths, warnings included. Typed containers and executable traversal depth remain premises; this is not a universal non-throw guarantee for arbitrary runtime values or resource exhaustion. Guarded lowering and downstream consumers refuse a rejected record.

        Returns IAutoMovieValidation

        Success with any warnings, or every violation found.