Skip to main content

Interface: Bond3DSpec

Defined in: src/mobjects/molecular/Molecule3D.ts:79

A single bond between two atoms, by their index in the atoms array.

Properties​

from​

from: number

Defined in: src/mobjects/molecular/Molecule3D.ts:81

Index of the first atom.


order?​

optional order: 1 | 2 | 3

Defined in: src/mobjects/molecular/Molecule3D.ts:85

Bond order: 1 (single), 2 (double) or 3 (triple). Default: 1.


to​

to: number

Defined in: src/mobjects/molecular/Molecule3D.ts:83

Index of the second atom.