speedup using _get_map_rows

This commit is contained in:
jan 2018-03-28 18:49:08 -07:00
commit a0d79e729d

View file

@ -21,9 +21,9 @@ def voxelize(poly: poly_t,
) -> numpy.ndarray:
'''
Voxelize a Schelegel-representation polyhedron
'''
#TODO: COMMENT THIS FILE!
box = get_box(poly, d) if box is None else numpy.array(box, dtype=int)
d = numpy.array(d)