CSG-combine two fields IN PLACE, returning the SAME handle for chaining. The
min/max blend keeps the zero set exact but drifts the gradient near the join,
so a subsequent fieldOffset/fieldShell auto-reinitializes.
PRECONDITION: both operands must be CO-REGISTERED — same origin, spacing, AND
dims. Two fields built by voxelField from DIFFERENT meshes generally do
NOT share geometry (each sizes its grid to its own bbox), and the WASM guard
rejects that mismatch as an err(...) rather than silently blending mismatched
coordinate frames. For the easy co-registered path, build the field directly
from both meshes with voxelBooleanField.
CSG-combine two fields IN PLACE, returning the SAME
handlefor chaining. The min/max blend keeps the zero set exact but drifts the gradient near the join, so a subsequent fieldOffset/fieldShell auto-reinitializes.PRECONDITION: both operands must be CO-REGISTERED — same origin, spacing, AND dims. Two fields built by voxelField from DIFFERENT meshes generally do NOT share geometry (each sizes its grid to its own bbox), and the WASM guard rejects that mismatch as an
err(...)rather than silently blending mismatched coordinate frames. For the easy co-registered path, build the field directly from both meshes with voxelBooleanField.