PitchKit
API Reference@pitchkit/coreInterfaces

HexBin

Defined in: packages/core/src/hexbin/bins.ts:17

One hexagonal cell: its centre in provider coordinates plus the statistic accumulated inside it. radius is the circumradius (centre to vertex), also in provider units, so a painter can derive the six corners without re-deriving the tiling.

Properties

PropertyModifierTypeDefined in
radiusreadonlynumberpackages/core/src/hexbin/bins.ts:20
valuereadonlynumberpackages/core/src/hexbin/bins.ts:21
xreadonlynumberpackages/core/src/hexbin/bins.ts:18
yreadonlynumberpackages/core/src/hexbin/bins.ts:19

On this page