A decorator for wrapping a particle representing a molecular bond.
As with Atom, the types of bonds will eventually be run-time expandible.
Inheritance diagram for IMP::atom::Bond:Public Types | |
| enum | Type { UNKNOWN = -1, NONBIOLOGICAL, SINGLE = 1, DOUBLE = 2, TRIPLE = 3, HYDROGEN, SALT, PEPTIDE, AMIDE, AROMATIC } |
| The types a bond can have right now. More... | |
Public Member Functions | |
| Bond (Model *m, ParticleIndex id) | |
| Bond (::IMP::Particle *p) | |
| Bonded | get_bonded (unsigned int i) const |
| Get the atom i of the bond. | |
| Float | get_length () const |
| Int | get_order () const |
| Float | get_stiffness () const |
| Int | get_type () const |
| void | set_length (Float t) |
| void | set_order (Int t) |
| void | set_stiffness (Float t) |
| void | set_type (Int t) |
Static Public Member Functions | |
| static Bond | decorate_particle (::IMP::Particle *p) |
| static FloatKey | get_length_key () |
| static bool | particle_is_instance (Particle *p) |
| Return true if the particle is a bond. | |
Related Functions | |
(Note that these are not member functions.) | |
| Bonds | get_internal_bonds (Hierarchy mhd) |
| Get the bonds internal to this tree. | |
The types a bond can have right now.
| Bonded IMP::atom::Bond::get_bonded | ( | unsigned int | i | ) | const |
| static bool IMP::atom::Bond::particle_is_instance | ( | Particle * | p | ) | [static] |
Return true if the particle is a bond.
Reimplemented from IMP::Decorator.
| Bonds get_internal_bonds | ( | Hierarchy | mhd | ) | [related] |
Get the bonds internal to this tree.