spatial-monorepo / wayfinding/src / restampOccupancyGrid
Function: restampOccupancyGrid()
restampOccupancyGrid(
base,opts?):OccupancyGrid
Defined in: packages/wayfinding/src/occupancy-grid.ts:509
Applies the two relaxation-rung-specific dynamic layers — wall-vertex clearance discs (step 4) and the blocked-unit fill (step 6) — to a copy of a cached BaseOccupancyGrid's data, without re-rasterizing walls, openings, or fixtures (issue #483). Cloning Uint8Array is O(cells) but no re- derivation from lng/lat geometry is needed, so this is cheap relative to buildBaseOccupancyGrid even at large grid sizes.
Parameters
base
opts?
DynamicStampOptions = {}
