#include <openbabel/data.h>
Public Member Functions | |
OBElement () | |
OBElement (int num, const char *sym, double rcov, double rvdw, int maxbo, double mass, double elNeg, double ionize, double elAffin, double red, double green, double blue, std::string name) | |
int | GetAtomicNum () |
const char * | GetSymbol () |
double | GetCovalentRad () |
double | GetVdwRad () |
double | GetMass () |
int | GetMaxBonds () |
double | GetElectroNeg () |
double | GetIonization () |
double | GetElectronAffinity () |
std::string | GetName () |
double | GetRed () |
double | GetGreen () |
double | GetBlue () |
Stores a variety of data about an individual element. Used mainly by OBElementTable.
OBElement | ( | ) | [inline] |
OBElement | ( | int | num, | |
const char * | sym, | |||
double | rcov, | |||
double | rvdw, | |||
int | maxbo, | |||
double | mass, | |||
double | elNeg, | |||
double | ionize, | |||
double | elAffin, | |||
double | red, | |||
double | green, | |||
double | blue, | |||
std::string | name | |||
) | [inline] |
Constructor
num | Atomic number | |
sym | Elemental symbol (maximum 3 characters) | |
rcov | Covalent radius (in Angstrom) | |
rvdw | van der Waals radius (in Angstrom) | |
maxbo | Maximum bonding valence | |
mass | Atomic mass (in amu) | |
elNeg | Electronegativity (in Pauling units) | |
ionize | Ionization potential (in eV) | |
elAffin | Electron affinity (in eV) | |
red | RGB value for a suggest visualization color (0 .. 1) | |
green | RGB value for a suggest visualization color (0 .. 1) | |
blue | RGB value for a suggest visualization color (0 .. 1) | |
name | Full IUPAC name |
int GetAtomicNum | ( | ) | [inline] |
const char* GetSymbol | ( | ) | [inline] |
double GetCovalentRad | ( | ) | [inline] |
double GetVdwRad | ( | ) | [inline] |
double GetMass | ( | ) | [inline] |
int GetMaxBonds | ( | ) | [inline] |
double GetElectroNeg | ( | ) | [inline] |
double GetIonization | ( | ) | [inline] |
double GetElectronAffinity | ( | ) | [inline] |
std::string GetName | ( | ) | [inline] |
double GetRed | ( | ) | [inline] |
double GetGreen | ( | ) | [inline] |
double GetBlue | ( | ) | [inline] |