Box.scale
- Box.scale(x, y=None, z=None)[source]
Scale the box.
- Parameters:
- xfloat
The scaling factor in x-direction. If no other factor is specified, this factor will be used for all directions.
- yfloat, optional
The scaling factor in the y-direction. Defaults to
x
.- zfloat, optional
The scaling factor in the z-direction. Defaults to
x
.
- Returns:
- None