diff --git a/chop/voxel.py b/chop/voxel.py index 5b83ec1..57aadb7 100644 --- a/chop/voxel.py +++ b/chop/voxel.py @@ -79,11 +79,3 @@ def voxelize(poly: poly_t, stack.append((poly_right, slices_right)) return dest_grid - -def clamp_to_box(poly: poly_t, - box: numpy.ndarray, - ) -> poly_t: - for face in planes_from_box(box): - poly = clip(poly, face) - return poly -