Atom¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/nitroglycerin/blob/main/js/Atom.ts for the most up-to-date information.
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.