Skip to content

CrowdingOptions

Defined in: network/lod.ts:1950

Options for computeLODCrowding.

expandPx: number

Defined in: network/lod.ts:1959

The expand threshold (px) the cut opens a node at by its footprint — the pass’s horizon: a node’s clear zoom is only needed below the zoom at which its footprint reaches it, so past that the pass stops and stores Infinity. Use crowdingHorizon; a cut with a larger expandPx than this still never opens a node whose members overlap, it only opens some later than it could.


screenSized: boolean

Defined in: network/lod.ts:1952

Glyph radii are screen px (sizeMode: "screen"); else world units, drawn × k.


optional spacing?: number

Defined in: network/lod.ts:1965

The LOD spacing (lodSpacing, #561): members are measured as if every glyph were spacing times its radius, and the horizon expandPx must be scaled by it too, as the cut’s threshold is (CutOptions.spacing). Use crowdingOptionsOf. Default 1.