Setup
The examples have been tested against CMake. gnuplot is required to draw the images generated by the slicer example, being sure to add it to the PATH environment variable. Now compile the project:Running the examples
You are now ready to run any of the examples using pattern similar to the following:Example Applications
- Bounding Box — computes the bounding box of an implicit body.
- Closest Point — finds the closest point on an implicit body’s surface to a set of query points.
- Slice — transforms an implicit body into a build orientation and slices it with a plane using dual contouring.
- Slice (Legacy) — slices an implicit body with a plane using the legacy marching-squares algorithm.
- Volume — computes the volume of an implicit body using a voxel-counting method.

