#include <openbabel/generic.h>
Public Member Functions | |
OBAngle (const OBAngle &) | |
~OBAngle () | |
OBAngle & | operator= (const OBAngle &) |
bool | operator== (const OBAngle &) |
void | Clear () |
double | GetAngle () const |
void | SetAngle (double angle) |
void | SetAtoms (OBAtom *vertex, OBAtom *a, OBAtom *b) |
void | SetAtoms (triple< OBAtom *, OBAtom *, OBAtom * > &atoms) |
Protected Member Functions | |
OBAngle () | |
OBAngle (OBAtom *vertex, OBAtom *a, OBAtom *b) | |
triple< OBAtom *, OBAtom *, OBAtom * > | GetAtoms () |
void | SortByIndex () |
Protected Attributes | |
OBAtom * | _vertex |
std::pair< OBAtom *, OBAtom * > | _termini |
double | _radians |
Friends | |
class | OBMol |
class | OBAngleData |
OBAngle | ( | ) | [protected] |
Angle default constructor.
~OBAngle | ( | ) | [inline] |
void SortByIndex | ( | ) | [protected] |
sorts atoms in angle by order of indices
bool operator== | ( | const OBAngle & | other | ) |
void Clear | ( | ) |
Return OBAngle to its original state.
double GetAngle | ( | ) | const [inline] |
Gets the OBAngle angle value
void SetAngle | ( | double | angle | ) | [inline] |
Sets the OBAngle to radians
angle | in radians |
Sets the 3 atoms in the angle Parameters are pointers to each OBAtom.
friend class OBMol [friend] |
friend class OBAngleData [friend] |
double _radians [protected] |