Asy-Atoms
An asymptote package for rendering atomic structures
Public Member Functions | Data Fields
AtomInfo Struct Reference

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...)
 

Detailed Description

Structure for storing atomic information.

This structure should be used to store all relevant information related to an atomic symbol.

Member Function Documentation

void AtomInfo::operator init ( string  element,
real  atomic_radius,
string  color,
int  atomic_number 
)
inline

Constructor for AtomInfo.

Parameters
elementAtomic symbol, C, N, etc...
atomic_radiusAtomic radius of the Element in Angstrom
colorColor in html notation (e.g. #ffffff)
atomic_numberAtomic number

The documentation for this struct was generated from the following file: