speedup using _get_map_rows
This commit is contained in:
parent
f5d2e5f6fc
commit
a0d79e729d
1 changed files with 4 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue