Skip to content

BoundaryDiscs

Defined in: network/lod.ts:164

Each module’s disc from a nested layout (#329), per aggregate (index g − leafCount): its centre as an offset (dx, dy) from the module’s leaf centroid, and its radius r, in world units (nestedBoundaryDiscs gives these). Passed to computeLODPositions, they become the module’s LOD geometry — cx/cy the disc centre, extent the disc radius — so the cut culls and expands a module by its disc, and its boundary ring is drawn on it. Keeping the centre relative to the centroid lets the disc follow its members through a drag or a position transition.

dx: Float32Array

Defined in: network/lod.ts:165


dy: Float32Array

Defined in: network/lod.ts:166


r: Float32Array

Defined in: network/lod.ts:167