Skip to content

gridify_gilbert

function gridify_gilbert(D, parameters?): Point[];

Defined in: gilbert.ts:280

Removes overlaps by snapping points onto a generalized Hilbert curve whose grid matches the data’s aspect ratio, rather than padding to a square as hilbert must.

ParameterTypeDescription
Dreadonly Point[]Input points.
parametersGilbertParameters-

Point[]

One [column, row] cell per input point, in input order.

If the grid has fewer cells than there are points.