Open Babel
3.0
|
#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 |
Used to hold the 3 atoms in an angle and the angle itself.
|
protected |
Angle default constructor.
|
inline |
Retrieves the 3 atom pointer for the angle (vertex first)
|
protected |
sorts atoms in angle by order of indices
Referenced by OBAngle::OBAngle(), and OBAngle::SetAtoms().
bool operator== | ( | const OBAngle & | other | ) |
OBAngle equality operator, is same angle, NOT same value.
void Clear | ( | void | ) |
Return OBAngle to its original state.
Referenced by OBMol::FindAngles().
|
inline |
Gets the OBAngle angle value
|
inline |
Sets the OBAngle to radians
angle | in radians |
Sets the 3 atoms in the angle Parameters are pointers to each OBAtom.
Referenced by OBMol::FindAngles().
Sets the 3 atoms in the angle.
atoms | a triple of OBAtom pointers, the first must be the vertex |
|
friend |
|
friend |
|
protected |
Referenced by OBAngle::Clear(), OBAngle::GetAtoms(), OBAngle::operator=(), OBAngle::operator==(), and OBAngle::SetAtoms().
|
protected |
Referenced by OBAngle::Clear(), and OBAngle::operator=().