spatial-monorepo / wayfinding/src / buildBaseOccupancyGridForLevel
Function: buildBaseOccupancyGridForLevel()
buildBaseOccupancyGridForLevel(
archive,levelId,opts?):BaseOccupancyGrid
Defined in: packages/wayfinding/src/occupancy-grid.ts:602
Filters an IMDFArchive to one level's units + openings, then builds its base (rung-independent) occupancy grid — see buildBaseOccupancyGrid. Also filters archive.fixtures/archive.kiosks to the same level and passes them through as opts.fixtures (issue #477) unless the caller already supplied opts.fixtures explicitly.
Parameters
archive
levelId
string
opts?
OccupancyGridOptions = {}
