use alternate arg formatting

This commit is contained in:
Jan Petykiewicz 2022-08-19 00:27:52 -07:00
commit f38e27d33d
2 changed files with 10 additions and 8 deletions

View file

@ -7,7 +7,8 @@ from . import poly_t, plane_t
from .util import _get_maps, find_components, find_faces
def planes_from_boundary(vertices: ArrayLike,
def planes_from_boundary(
vertices: ArrayLike,
faces: List[ArrayLike]
) -> List[plane_t]:
'''

View file

@ -8,7 +8,8 @@ from .moments import get_moments, number_of_moments
from .shapes import planes_from_box
def voxelize(poly: poly_t,
def voxelize(
poly: poly_t,
planes: List[ArrayLike],
include_outside: bool = False,
order: int = 0,