Position-varying scalar fields (brepjs-implicit Phase 2b). Static constructors
compose an opaque field that the Sdf modulated operators sample per voxel.
Structurally satisfied by the generated ScalarField wasm-bindgen class.
Field-first analytic SDF builder (ADR-0013). Static primitive constructors
and combinator methods compose an opaque expression tree that rasterizes
directly into a WasmVoxelField with no input mesh. Structurally
satisfied by the generated Sdf wasm-bindgen class.
Persistent dense voxel-field class, for same-grid op chains: voxelize a mesh
once, then boolean/offset/shell/reinit in place, contour once. Structurally
satisfied by the generated VoxelField wasm-bindgen class.
Fill an FWN-signed solid with a TPMS lattice infill, contoured to a mesh.
Offset a mesh by a true-SDF iso-level shift (>0 outward, <0 inward).
Inside/outside classification per query point (1 = inside, 0 = outside).
Voxelize-and-contour a mesh into a closed surface (FWN sign keystone).
Hollow a solid mesh into an inward shell of the given thickness (>0).
Contour the infinite TPMS lattice clipped to an axis-aligned box.
Engine artifact version, for loader/artifact compatibility checks.
Voxel CSG of two meshes (op: 0=union, 1=intersection, 2=difference A−B).
Generalized winding number per query point (~1 inside, ~0 outside).
The wasm surface the voxel domain depends on — structurally satisfied by the loaded
brepjs-voxel-wasmmodule. Kept snake_case to match the wasm-bindgen exports exactly, so the raw module is a zero-adapterVoxelEngine.All buffers are flat (no zero-copy across the wasm boundary, per ADR-0013):
vertsis xyz·V,trisis index·T,queriesis xyz·Q.