Skip to content

CutBoundaries

Defined in: network/lod.ts:175

The expanded aggregates a cut collects for the module-boundary rings (#329). Pass one as CutOptions.boundaries; each cut overwrites ids / alpha / count (the arrays grow on demand and are reused — keep one per engine, from makeCutBoundaries).

alpha: Float32Array

Defined in: network/lod.ts:185

Output, parallel to ids: the alpha each one’s children are drawn at (1 without a cross-fade).


count: number

Defined in: network/lod.ts:187

Output: how many were collected.


ids: Uint32Array

Defined in: network/lod.ts:183

Output: the expanded aggregates whose boundary meets the view — only ids[0 .. count) is valid.


optional radius?: Float32Array<ArrayBufferLike>

Defined in: network/lod.ts:181

The ring radius per aggregate (index g − leafCount) for the ring drawers — a nested layout’s disc radii (BoundaryDiscs.r), for a tree whose geometry they placed. Absent ⇒ extent. The cut never reads it: it tests the tree’s cx/cy/extent.