Detailed Description
A decorator for a particle which has bonds.
- See also:
- Bond
Examples: nonbonded interactions
List of all members.
Iterate through the bonds |
|
BondIterator | bonds_begin () const |
|
BondIterator | bonds_end () const |
Iterate through the bondeds |
|
BondedIterator | bondeds_begin () const |
|
BondedIterator | bondeds_end () const |
Additional Inherited Members |
|
| Decorator (Model *m, ParticleIndex pi) |
|
| Decorator (Particle *p) |
|
int | compare (base::Object *o) const |
Member Function Documentation
| Bond IMP::atom::Bonded::get_bond |
( |
unsigned int |
i | ) |
const |
Get a Bond of the ith bond.
- Returns:
- decorator of the ith child, or throw an exception if there is no such bond
| Bonded IMP::atom::Bonded::get_bonded |
( |
unsigned int |
i | ) |
const |
Get a Bonded of the ith bonded particle.
- Returns:
- decorator of the ith child, or throw an exception if there is no such bond
- Note:
- I don't entirely like having this here as it duplicates functionality available otherwise, however it is such a fundamental operation and kind of a pain to write. It also means that we could later pull the edge endpoints into the vertex if desired.
| unsigned int IMP::atom::Bonded::get_number_of_bonds |
( |
| ) |
const |
| static bool IMP::atom::Bonded::particle_is_instance |
( |
Particle * |
p | ) |
|
|
static |
return true if it is a bonded particle
Reimplemented from IMP::Decorator.
The documentation for this class was generated from the following file: