#include <openbabel/internalcoord.h>
Public Member Functions | |
OBInternalCoord (OBAtom *a=NULL, OBAtom *b=NULL, OBAtom *c=NULL, double dst=0.0, double ang=0.0, double tor=0.0) | |
Public Attributes | |
OBAtom * | _a |
OBAtom * | _b |
OBAtom * | _c |
double | _dst |
double | _ang |
double | _tor |
Used with OpenBabel::InternalToCartesian and OpenBabel::CartesianToInternal methods. Does not perform any actions itself. You must create or free OBAtom pointers yourself.
The z-matrix representation uses coordinates relative to up to three atoms, which need not be bonded in any fashion. A rough sketch of the a, b, and c atoms would be:
'*'
/
/
a----b
/
/
c
where the OBInternalCoord record reflects the '*' atom.
OBInternalCoord | ( | OBAtom * | a = NULL , |
|
OBAtom * | b = NULL , |
|||
OBAtom * | c = NULL , |
|||
double | dst = 0.0 , |
|||
double | ang = 0.0 , |
|||
double | tor = 0.0 | |||
) | [inline] |
Constructor.
double _dst |
Distance between this atom and _a.
double _ang |
Angle between this, _a, and _b (i.e., _a is the vertex).
double _tor |
Torsional/dihedral angle between this, _a, _b, and _c.