Skip to content

gilbert_d2xy

function gilbert_d2xy(
d,
W,
H): Point;

Defined in: gilbert.ts:147

Maps a position along the generalized Hilbert curve back to its cell — the inverse of gilbert_xy2d.

ParameterTypeDescription
dnumberCurve index, in [0, W·H).
Wnumber-
Hnumber-

Point