Skip to content

Interface: ProjectVolumeOptions ​

Defined in: projectVolume.ts:23

Properties ​

depthMm ​

ts
readonly depthMm: readonly [number, number];

Defined in: projectVolume.ts:25

Ordered, finite interval. Positive depths follow the supplied normal.


steps? ​

ts
readonly optional steps?: number;

Defined in: projectVolume.ts:27

Inclusive, evenly spaced samples (1–256). One samples the midpoint. Default 5.


interpolation? ​

ts
readonly optional interpolation?: "nearest" | "linear";

Defined in: projectVolume.ts:29

Default linear. Nearest uses half-open voxel extents; linear uses voxel centres.


reducer? ​

ts
readonly optional reducer?: NormalProjectionReducer;

Defined in: projectVolume.ts:31

Default mean. max-abs retains the sign; ties choose the earliest depth.

Released under the MIT License.