Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OB_CHIRAL_H
00021 #define OB_CHIRAL_H
00022
00023 #include <vector>
00024 #include <openbabel/matrix.h>
00025
00026 namespace OpenBabel
00027 {
00028
00030 OBAPI void GraphPotentials(OBMol &mol, std::vector<double> &pot);
00032 OBAPI void construct_g_matrix(OBMol &mol, std::vector<std::vector<double> > &m);
00034 OBAPI void construct_c_matrix(OBMol &mol, std::vector<std::vector<double > > &m);
00035
00037 OBAPI double CalcSignedVolume(OBMol &mol,OBAtom*,bool ReZeroZ=true);
00039 OBAPI double signed_volume(const vector3 &a, const vector3 &b, const vector3 &c, const vector3 &d);
00041 OBAPI void GetChirality(OBMol &mol, std::vector<int> &chirality);
00043 OBAPI int GetParity4Ref(std::vector<unsigned int> pref);
00045 OBAPI bool CorrectChirality(OBMol &mol, OBAtom *atm, atomreftype i=input, atomreftype o=output);
00046
00047 }
00048
00049 #endif // OB_CHIRAL_H
00050