Skip to content

cellsForCircle

cellsForCircle(cx, cy, r, cellSize): Generator<CellKey>

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

Yield every cell key overlapped by the bounding box of a circle. This is a coarse over-estimate (square enclosing the circle); callers needing exact coverage should filter the yielded cells themselves.

number

number

number

number

Generator<CellKey>