spatial-monorepo / wayfinding/src / findGridRouteWithLadderOnLevel
Function: findGridRouteWithLadderOnLevel()
findGridRouteWithLadderOnLevel(
archive,levelId,origin,destination,opts?):LadderGridRouteResult
Defined in: packages/wayfinding/src/grid-relaxation.ts:505
Filters an IMDFArchive to one level's units/openings/fixtures/kiosks, then runs the relaxation ladder against the level's cached BaseOccupancyGrid (getBaseOccupancyGridForLevel, issue #483) — repeated routing on the same level (across ladder rungs, across route calls, and across the multi-floor branch enumeration in grid-multifloor.ts) reuses the same rasterized walls/ openings/fixtures instead of rebuilding them every time.
Parameters
archive
levelId
string
origin
destination
opts?
GridLadderOptions = {}
