# BioSimSpace.Box¶

The Box package contains tools for generating parameters for different simulation boxes. This is particularly useful when needing box magnitudes and angles for generating BioSimSpace.Solvent boxes.

## Functions¶

 generateBoxParameters(box_type, image_distance) Generate parameters for the named box type with specified image distance. rhombicDodecahedronSquare(image_distance) Generate parameters for a square rhombic dodecahedron. rhombicDodecahedronHexagon(image_distance) Generate parameters for a hexagonal rhombic dodecahedron. truncatedOctahedron(image_distance) Generate parameters for a truncated octahedron. Return a list of the supported box types.

Examples

Generate the lattice vectors and angles for a truncated octahedron of 10 nanometer lattice separation.

import BioSimSpace as BSS

box, angles = BSS.Box.truncatedOctahedron(10 * BSS.Units.Length.nanometer)