Functions for exactly voxelizing 3d primitives (tetrahedra) onto a 3D Cartesian grid including higher-order moments, as described in Powell & Abel (2014).