gridify_gridfit
function gridify_gridfit(D): Point[];Defined in: gridfit.ts:186
Removes overlaps by hierarchically partitioning the data space, shifting each dividing line by the smallest amount that leaves every subregion enough grid cells for its points.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
D | readonly Point[] | Input points, in grid-cell units. |
Returns
Section titled “Returns”Point[]
One grid cell per input point, in input order.