CalcCellTrans.c
Inputs
VEC3F UnitCell The unit cell dimensions
VEC3F CellAngles The unit cell angles
Outputs
VEC3F *xtrans Translation to apply along X axis
VEC3F *ytrans Translation to apply along Y axis
VEC3F *ztrans Translation to apply along Z axis
Description
Calculates the offsets to apply in X, Y and Z directions for creating a crystal lattice from the unit cell parameters.
Created: 11.10.95 Last Modified: 11.10.95