Skip to content

cellsForAabb

cellsForAabb(x, y, w, h, cellSize): Generator<CellKey>

Defined in: src/modules/spatial/projections.ts:28

Yield every cell key overlapped by an axis-aligned bounding box. Inclusive of the cells at both (x,y) and (x+w, y+h). w and h should be non-negative; negative values yield no cells.

number

number

number

number

number

Generator<CellKey>