Function: assertSameVolumeGeometry()
ts
function assertSameVolumeGeometry(
reference,
candidate,
tolerance?): void;Defined in: src/geometry/VolumeGeometry.ts:53
Fail closed when two volumes do not occupy the same voxel grid.
This deliberately compares the full affine in addition to dimensions and derived fields. It does not resample, reorient, or wrap either volume.
Parameters
reference
candidate
tolerance?
number = 1e-6
Returns
void