From 523db814f864e18844385ce0df01a3eef9d7c1f0 Mon Sep 17 00:00:00 2001 From: jan Date: Tue, 3 Apr 2018 15:46:52 -0700 Subject: [PATCH] remove clamp_to_box --- chop/voxel.py | 8 -------- 1 file changed, 8 deletions(-) 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 -