Function getMultiFloorState

  • Calculates the multi-floor visibility state for rendering stacked floors

    Parameters

    • floors: Floor[]

      Array of floors to process

    • currentFloor: Floor

      The currently active floor

    • floorGap: number | "auto" = 'auto'

      Gap between floors, either a number or 'auto'

    • floorIdsInNavigation: string[]

      Array of floor IDs that are part of the current navigation

    • floorsVisualHeightMap: Map<number, { altitude: number; effectiveHeight: number }> = ...

      Map of floor elevations to their visual height data

    • footprintConfig: FootprintConfig

      Configuration for footprint color and voids behavior

    Returns VisibilityState

    The visibility state for all floors