void PoldiIndexKnownCompounds::assignCrystalStructureParameters( PoldiPeakCollection_sptr &indexedPeaks, const PoldiPeakCollection_sptr &phasePeaks) const { indexedPeaks->setPointGroup(phasePeaks->pointGroup()); indexedPeaks->setUnitCell(phasePeaks->unitCell()); }
/// Copy crystal data from source to target collection to preserve during /// integration etc. void PoldiFitPeaks2D::assignCrystalData( PoldiPeakCollection_sptr &targetCollection, const PoldiPeakCollection_sptr &sourceCollection) const { targetCollection->setUnitCell(sourceCollection->unitCell()); targetCollection->setPointGroup(sourceCollection->pointGroup()); }