Skip to main content

Function: isSlabDepthLowInclusive()

isSlabDepthLowInclusive(coverage): boolean

Whether the low end of the depth interval is inclusive for the given coverage.

'centerInside' needs the half-open interval. An open interval drops both of its endpoints, so a voxel centre that lands exactly on a boundary belongs to neither of two consecutive slabs, and the two stop tiling. 'overlapping' keeps the open interval, because it selects the voxels on both sides of a boundary anyway.

Parameters​

• coverage: SlabDepthCoverage = 'overlapping'

Returns​

boolean

Defined in​

packages/core/src/utilities/voxelSlab/slabMembership.ts:148