Skip to main content

Interface: SmilesBond

Defined in: src/mobjects/chemistry/smiles.ts:55

One parsed bond. It extends BondSpec with an aromatic flag, since an aromatic bond keeps order 1 for geometry but must still be known as aromatic.

Extends​

Properties​

aromatic​

aromatic: boolean

Defined in: src/mobjects/chemistry/smiles.ts:57

True for a : bond or a bond between two aromatic atoms.


from​

from: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:37

Index of the first atom in the atoms array.

Inherited from​

BondSpec.from


order?​

optional order: BondOrder

Defined in: src/mobjects/chemistry/chemistryTypes.ts:41

Bond order. Default: 1.

Inherited from​

BondSpec.order


to​

to: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:39

Index of the second atom in the atoms array.

Inherited from​

BondSpec.to


type?​

optional type: BondStyle

Defined in: src/mobjects/chemistry/chemistryTypes.ts:43

Bond style. Default: 'normal'.

Inherited from​

BondSpec.type