An Angle decorator is a simple container of three particles, together with an ideal value (in radians) for the angle and a stiffness.
Public Member Functions | |
Angle (::IMP::Particle *p) | |
Float | get_ideal () const |
Particle * | get_particle (unsigned int i) const |
Get the ith particle in the angle. | |
Particle * | get_particle () const |
Float | get_stiffness () const |
void | set_ideal (Float t) |
void | set_stiffness (Float t) |
Static Public Member Functions | |
static Angle | decorate_particle (::IMP::Particle *p) |
static FloatKey | get_ideal_key () |
static ParticleKey | get_particle_key (unsigned int i) |
static FloatKey | get_stiffness_key () |
static bool | particle_is_instance (Particle *p) |
Return true if the particle is an angle. | |
static Angle | setup_particle (Particle *p, core::XYZ a, core::XYZ b, core::XYZ c) |
Create an angle with the given particles. |