Interface: SmilesAtom
Defined in: src/mobjects/chemistry/smiles.ts:40
One parsed atom. It extends AtomSpec (element plus generated x,y) with the extra chemistry a SMILES token can carry.
Extends
Properties
aromatic
aromatic:
boolean
Defined in: src/mobjects/chemistry/smiles.ts:42
True when the atom was written in the aromatic lowercase form.
charge
charge:
number
Defined in: src/mobjects/chemistry/smiles.ts:44
Formal charge, 0 when none was written.
element
element:
string
Defined in: src/mobjects/chemistry/chemistryTypes.ts:27
Element symbol, e.g. 'C', 'O', 'Cl'.
Inherited from
hcount
hcount:
number
Defined in: src/mobjects/chemistry/smiles.ts:46
Explicit hydrogen count from a bracket atom, 0 when none was written.
isotope
isotope:
number
Defined in: src/mobjects/chemistry/smiles.ts:48
Isotope mass number from a bracket atom, or null when none was written.
x
x:
number
Defined in: src/mobjects/chemistry/chemistryTypes.ts:29
X coordinate in bond-length units.
Inherited from
y
y:
number
Defined in: src/mobjects/chemistry/chemistryTypes.ts:31
Y coordinate in bond-length units.