Asy-Atoms
An asymptote package for rendering atomic structures
|
Structure for storing atomic information. More...
Public Member Functions | |
void | operator init (string element, real atomic_radius, string color, int atomic_number) |
Constructor for AtomInfo. More... | |
Data Fields | |
string | element |
Atomic symbol of the element. | |
real | atomic_radius |
Atomic radius of the element. | |
real | atomic_number |
Atomic number of the element. | |
pen | color |
Style of the atom (color, etc...) | |
Structure for storing atomic information.
This structure should be used to store all relevant information related to an atomic symbol.
|
inline |
Constructor for AtomInfo.
element | Atomic symbol, C, N, etc... |
atomic_radius | Atomic radius of the Element in Angstrom |
color | Color in html notation (e.g. #ffffff) |
atomic_number | Atomic number |