Cork Boolean Library
Welcome to the Cork Boolean/CSG library. Cork is designed to support Boolean operations between triangle meshes.
Surprisingly, most Boolean/CSG libraries available today (early 2013)
are not robust to numerical errors. Floating-point errors often lead
to segmentation faults or produce grossly inaccurate results (e.g.
nothing) despite the code being provided . The few libraries which are
robust (e.g. CGAL) require the user to correctly configure the
arithmetic settings to ensure robustness.
Cork is designed with the philosophy that you, the user, don't know
and don't care about esoteric problems with floating point arithmetic.
You just want a Boolean library with a simple interface, that you can
rely on... Unfortunately since Cork is still in ongoing development,
this may be more or less true at the moment. This code should be very
usable for a research project, perhaps slightly less so for use