Bond¶
-
class
visualife.data.Bond(atom1, atom2, type='1')¶ Bases:
objectRepresents a single chemical bond between two atoms
Creates a bond between two atoms
Parameters: - atom1 (
Atomobject) – the first of the two bonded atoms - atom2 (
Atomobject) – the second of the two bonded atoms - type (
char) – type of this bond: ‘1’, ‘2’ or ‘3’, for each bond order, respectively
Attributes Summary
atom1Returns the first of the two bonded atoms atom2Returns the second of the two bonded atoms typeReturns a character denoting the type of this bond Attributes Documentation
-
atom1¶ Returns the first of the two bonded atoms
-
atom2¶ Returns the second of the two bonded atoms
-
type¶ Returns a character denoting the type of this bond
- atom1 (