diff --git a/adze/boundary.py b/adze/boundary.py index bef0e7a..1c31ba1 100644 --- a/adze/boundary.py +++ b/adze/boundary.py @@ -7,9 +7,10 @@ from . import poly_t, plane_t from .util import _get_maps, find_components, find_faces -def planes_from_boundary(vertices: ArrayLike, - faces: List[ArrayLike] - ) -> List[plane_t]: +def planes_from_boundary( + vertices: ArrayLike, + faces: List[ArrayLike] + ) -> List[plane_t]: ''' Generate a list of planes (normal, signed distance) from the faces of a boundary- representation polyhedron. diff --git a/adze/voxel.py b/adze/voxel.py index 99f64de..38851e7 100644 --- a/adze/voxel.py +++ b/adze/voxel.py @@ -8,11 +8,12 @@ from .moments import get_moments, number_of_moments from .shapes import planes_from_box -def voxelize(poly: poly_t, - planes: List[ArrayLike], - include_outside: bool = False, - order: int = 0, - ) -> NDArray[numpy.float64]: +def voxelize( + poly: poly_t, + planes: List[ArrayLike], + include_outside: bool = False, + order: int = 0, + ) -> NDArray[numpy.float64]: ''' Voxelize a Schelegel-representation polyhedron on an arbitrary rectangular grid.