|
AvogadroLibs 2.1.0-20261111
|
A single bond of a periodic structure. More...
#include <crystaltools.h>
Public Attributes | |
| Index | atom1 |
| Index | atom2 |
| Vector3i | offset |
| unsigned char | order |
| bool | perceived |
The bond joins atom1 to the image of atom2 displaced by offset lattice vectors, so a zero offset is an ordinary bond lying wholly inside the cell and anything else crosses a cell boundary.
| Index atom1 |
Index of the first atom.
| Index atom2 |
Index of the second atom.
| Vector3i offset |
Lattice translation applied to atom2, in whole cell units.
| unsigned char order |
Bond order. Newly perceived bonds are always single.
| bool perceived |
True if this pass found the bond, false if molecule already had it.