Skip to content

gridify_hilbert

function gridify_hilbert(D, __namedParameters): Point[];

Defined in: hilbert.ts:155

Removes overlaps by snapping each point to a Hilbert curve cell, resolving contested cells along the curve. The grid is square, 2^level a side.

ParameterTypeDescription
Dreadonly Point[]Input points.
__namedParametersHilbertParameters-

Point[]

One grid cell per input point, in input order.

If there are more points than cells.