Library for hexahedral mesh generation from a CSG description