AutoMovie API
    Preparing search index...

    Variable builtEnvironmentAdjacentSpacesConst

    builtEnvironmentAdjacentSpaces: (
        environment: IAutoMovieBuiltEnvironment,
        spaceId: string,
    ) => string[] = ...

    Return spaces directly joined by a boundary or traversal connector.

    A run reaches every stop it declares, not only its two ends: a lift serving four floors makes all four reachable from each other, because the floors it stops at are the floors it joins. A one-way run reaches only stops further along its own route.

    A shared boundary joins two spaces whether or not any opening passes through it, so a closed partition still makes its rooms adjacent. Stops and boundary sides are matched exactly, not through containment, so asking a storey does not return what its rooms touch. Ids come back once each in discovery order, boundaries first and then connectors, without sorting. Throws for an undeclared space id.

    Type Declaration