generate_bounding_box¶
-
sknano.core.geometric_regions.
generate_bounding_box
(from_region=None, from_lattice=None, from_array=None, verbose=False)[source] [edit on github][source]¶ Return a
Cuboid
representing an axis-aligned bounding box.Parameters: - from_region (
Geometric3DRegion
) – - from_lattice (
Crystal3DLattice
) – - from_array (
ndarray
) – - verbose (
bool
) –
Returns: bounding_box
Return type: - from_region (