Validate projection inputs that share the WASM 3D-extraction preconditions: positions ≥ numItems × ndim, displayDims length ≤ 3, each displayDim < ndim, slicePosition ≥ ndim. Reused by every project*To3D entry point before the first WASM call.
project*To3D
Validate projection inputs that share the WASM 3D-extraction preconditions: positions ≥ numItems × ndim, displayDims length ≤ 3, each displayDim < ndim, slicePosition ≥ ndim. Reused by every
project*To3Dentry point before the first WASM call.