/** * \file MolCnSymmAxisDetector.cpp * \brief molecule symmetry detector * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #include #include #include #include IMPCNMULTIFIT_BEGIN_NAMESPACE MolCnSymmAxisDetector::MolCnSymmAxisDetector(int symm_deg, const atom::Hierarchies &mhs) : symm_deg_(symm_deg) { //get all vectors mhs_=mhs; for (atom::Hierarchies::const_iterator it = mhs_.begin(); it != mhs_.end(); it++) { core::XYZs temp_ps = core::XYZs(core::get_leaves(*it)); for(unsigned int i=0;i