diff --git a/tpy_r3d.py b/tpy_r3d.py index 17acc69..79e53a7 100644 --- a/tpy_r3d.py +++ b/tpy_r3d.py @@ -345,7 +345,7 @@ def test_voxelization(): moments = get_moments(poly, POLY_ORDER) logger.info(f'Voxelizing a tetrahedron to a grid with dx = {dx} and moments of order {POLY_ORDER}') - grid = voxelize(poly, dx, poly_order=POLY_ORDER) + grid = voxelize(poly, dx, order=POLY_ORDER) # visualize_voxels(grid) @@ -545,14 +545,8 @@ if __name__ == '__main__': logger.info('test_split_nonconvex') test_split_nonconvex() - logger.info('split_nondegen') - test_recursive_splitting_nondegenerate() - - logger.info('split_degen') - test_recursive_splitting_degenerate() - - logger.info('split_degen_perturbed') - test_recursive_splitting_degenerate_perturbed() + logger.info('split_recursive') + test_recursive_split() logger.info('voxelization') test_voxelization()