23 #include <openbabel/babelconfig.h> 36 class DistanceGeometryPrivate;
37 class OBCisTransStereo;
39 class OBAPI OBDistanceGeometry {
42 OBDistanceGeometry(
const OBMol &mol,
bool useCurrentGeometry);
43 ~OBDistanceGeometry();
54 bool Setup(
const OBMol &mol,
bool useCurrentGeom =
false);
57 void GetConformers(OBMol &mol);
64 bool GetGeometry(OBMol &mol,
bool useCurrentGeom =
false);
67 Eigen::MatrixXf GetBoundsMatrix();
72 bool SetBoundsMatrix(
const Eigen::MatrixXf bounds);
76 DistanceGeometryPrivate *_d;
80 void SetUpperBounds();
83 void Set12Bounds(
bool useCurrentGeom);
86 void Set13Bounds(
bool useCurrentGeom);
88 void SetAromaticRingBounds();
94 int AreInSameRing(OBAtom *a, OBAtom *b);
96 void TriangleSmooth(
int iterations = 8);
98 void SetLowerBounds();
101 OBCisTransStereo *GetCisTransStereo(OBBond *bond);
104 void CorrectStereoConstraints(
double scale = 1.0);
107 bool CheckStereoConstraints();
Handle molecules. Declarations of OBMol, OBAtom, OBBond, OBResidue. (the main header for Open Babel) ...
Global namespace for all Open Babel code.
Definition: alias.h:22