Skip to main content
This example loads a .implicit file and calls ComputeVolume, which divides the body’s bounding box into a 100x100x100 grid of voxels, evaluates the body’s field (ImplicitBody.Value) at each voxel center, and estimates the volume as the count of inside voxels multiplied by the volume of a single voxel.

MainProgram.cs

Volume.cs