Skip to main content

Function: createColumnLineResolver()

createColumnLineResolver(volume, normal): (slab, outerIndex, rowIndex) => ColumnLine

Creates a reusable resolver for the column line of a given volume and plane.

The step vectors depend only on the volume and the slab, so they are computed once per slab; only the bases change as the outer and row indices advance. The returned ColumnLine is reused between calls - copy anything retained.

Parameters​

• volume: VolumeGeometry

• normal: Point3

Returns​

Function

Parameters​

• slab: IndexSpaceSlab

• outerIndex: number

• rowIndex: number

Returns​

ColumnLine

Defined in​

packages/core/src/utilities/voxelSlab/shapes/shapeGeometry.ts:129