sknano.core.atoms.Bond¶
-
class
sknano.core.atoms.
Bond
(atom1, atom2)[source][source]¶ Abstract representation of bond between 2
Atom
objects.Parameters: atom1, atom2 : Atom
instancesAttributes
atom1
Atom
1 inBond
.atom2
Atom
2 inBond
.atoms
Atoms
inBond
.centroid
centroid
ofBond
atoms
.fmtstr
Format string. length
Bond
length
.unit_vector
Bond
unit_vector
.vector
Bond
Vector
.Methods
rotate
(**kwargs)Rotate the bond by rotating the atoms
.todict
()