Atom¶
Overview¶
Object for actual element properties (symbol, radius, etc.)
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Atom¶
Constructor¶
new Atom( element : Element )¶
Instance Methods¶
hasSameElement( atom : Atom ) : boolean¶
isHydrogen() : boolean¶
isCarbon() : boolean¶
isOxygen() : boolean¶
toString() : string¶
Instance Properties¶
element : Element¶
(readonly)
symbol : string¶
(readonly)
These are field of Element, unpacked here for convenience. See Element for documentation of these fields.
covalentRadius : number¶
(readonly)
covalentDiameter : number¶
(readonly)
electronegativity : number | null¶
(readonly)
atomicWeight : number¶
(readonly)
color : Color | string¶
(readonly)
reference : string¶
(readonly)
IDs for uniqueness and fast lookups
id : string¶
(readonly)
Static Methods¶
createAtomFromSymbol( symbol : string ) : Atom¶
Source Code¶
See the source for Atom.ts in the nitroglycerin repository.