8 #ifndef IMPATOM_ANGLE_DECORATORS_H
9 #define IMPATOM_ANGLE_DECORATORS_H
11 #include <IMP/atom/atom_config.h>
15 IMPATOM_BEGIN_NAMESPACE
31 p->add_attribute(get_particle_key(0), a);
32 p->add_attribute(get_particle_key(1), b);
33 p->add_attribute(get_particle_key(2), c);
39 for (
unsigned int i = 0; i < 3; ++i) {
40 if (!p->has_attribute(get_particle_key(i)))
return false;
86 p->add_attribute(get_particle_key(0), a);
87 p->add_attribute(get_particle_key(1), b);
88 p->add_attribute(get_particle_key(2), c);
89 p->add_attribute(get_particle_key(3), d);
95 for (
unsigned int i = 0; i < 4; ++i) {
96 if (!p->has_attribute(get_particle_key(i)))
return false;
117 static IntKey get_multiplicity_key();
118 static FloatKey get_stiffness_key();
123 IMPATOM_END_NAMESPACE