OEBuildUnitCell

bool OEBuildUnitCell(OEChem::OEMCMolBase& cell,
                     const OEChem::OEMolBase& mol)

Apply all symmetry operators specified in mol and generate the unit cell by removing all redundant operators. mol must have 3D coordinates assigned and crystal symmetry set (see OESetCrystalSymmetry).