73 OBAlign(
bool includeH=
false,
bool symmetry=
true);
77 OBAlign(
const OBMol &refmol,
const OBMol &targetmol,
bool includeH=
false,
bool symmetry=
true);
81 OBAlign(
const std::vector<vector3> &ref,
const std::vector<vector3> &target);
92 void SetRef(
const std::vector<vector3> &ref);
97 void SetTarget(
const std::vector<vector3> &target);
104 void SetRefMol(
const OBMol &refmol);
109 void SetTargetMol(
const OBMol &targetmol);
164 std::vector<vector3> GetAlignment();
170 bool UpdateCoords(
OBMol* target);
182 const OBMol* _prefmol;
183 const OBMol* _ptargetmol;
184 Eigen::MatrixXd _rotMatrix;
185 Eigen::Vector3d _ref_centr, _target_centr;
186 const std::vector<vector3> *_pref;
187 const std::vector<vector3> *_ptarget;
188 std::vector<vector3> _refmol_coords;
189 std::vector<vector3> _targetmol_coords;
190 Eigen::MatrixXd _result;
191 Eigen::MatrixXd _mref, _mtarget;
192 void VectorsToMatrix(
const std::vector<vector3> *pcoords, Eigen::MatrixXd &coords);
193 Eigen::Vector3d MoveToOrigin(Eigen::MatrixXd &coords);
194 void SimpleAlign(
const Eigen::MatrixXd &mtarget);
195 void TheobaldAlign(
const Eigen::MatrixXd &mtarget);
202 std::vector<unsigned int> _newidx;
OBIsomorphismMapper class for finding isomorphisms.
AlignMethod
Definition: align.h:119
OBIsomorphismMapper::Mappings Automorphisms
A group of automorphic permutations.
Definition: isomorphism.h:206
Molecule Class.
Definition: mol.h:118
Handle molecules. Declarations of OBMol, OBAtom, OBBond, OBResidue. (the main header for Open Babel) ...
A speed-optimized vector of bits.
Definition: bitvec.h:57
Perform a least-squares alignment of two molecules or two vectors of vector3 objects.
Definition: align.h:64
Represents a real 3x3 matrix.
Definition: matrix3x3.h:42
Handle 3D Rotation matrix.
Global namespace for all Open Babel code.
Definition: alias.h:22