Skip to main content

Function: resolveReferencePlaneThickness()

resolveReferencePlaneThickness(referencePlaneThickness, voxelThickness): number

Resolves the reference plane thickness to use, in mm.

Null, undefined, and 0 or less all count as "not recorded" and default to one voxel along the normal. See docs/docs/concepts/cornerstone-tools/annotation/voxel-statistics.md.

Parameters​

• referencePlaneThickness: number

The recorded thickness, or null/undefined/0.

• voxelThickness: number

The voxel thickness along the normal, the fallback.

Returns​

number

Defined in​

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