#include <generic.h>
Public Member Functions | |
| OBAngle (const OBAngle &) | |
| OBAngle copy constructor. | |
| ~OBAngle () | |
| OBAngle & | operator= (const OBAngle &) |
| OBAngle assignment operator. | |
| bool | operator== (const OBAngle &) |
| OBAngle equality operator, is same angle, NOT same value. | |
| void | Clear () |
| Return OBAngle to its original state. | |
| double | GetAngle () const |
| Gets the OBAngle angle value. | |
| void | SetAngle (double radians) |
| Sets the OBAngle angle value. | |
| void | SetAtoms (OBAtom *vertex, OBAtom *a, OBAtom *b) |
| Sets the 3 atoms in the angle Parameters are pointers to each OBAtom. | |
| void | SetAtoms (triple< OBAtom *, OBAtom *, OBAtom * > &atoms) |
| Sets the 3 atoms in the angle. | |
Protected Member Functions | |
| OBAngle () | |
| Angle default constructor. | |
| OBAngle (OBAtom *vertex, OBAtom *a, OBAtom *b) | |
| Angle constructor. | |
| triple< OBAtom *, OBAtom *, OBAtom * > | GetAtoms () |
| Retrieves the 3 atom pointer for the angle (vertex first). | |
| void | SortByIndex () |
| sorts atoms in angle by order of indices | |
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.
| GetAngle | ( | ) | const [inline] |
| SetAngle | ( | double | angle | ) | [inline] |
Sets the 3 atoms in the angle Parameters are pointers to each OBAtom.
Sets the 3 atoms in the angle.
| atoms | a triple of OBAtom pointers, the first must be the vertex |
friend class OBMol [friend] |
friend class OBAngleData [friend] |
double _radians [protected] |