91 |
|
/** update the positions of atoms belong to this rigidbody */ |
92 |
|
void updateAtoms(); |
93 |
|
|
94 |
+ |
Atom* beginAtom(std::vector<Atom*>::iterator& i); |
95 |
+ |
|
96 |
+ |
Atom* nextAtom(std::vector<Atom*>::iterator& i); |
97 |
+ |
|
98 |
+ |
std::vector<Atom*>::iterator getBeginAtomIter() { |
99 |
+ |
return atoms_.begin(); |
100 |
+ |
} |
101 |
+ |
|
102 |
+ |
std::vector<Atom*>::iterator getEndAtomIter() { |
103 |
+ |
return atoms_.end(); |
104 |
+ |
} |
105 |
+ |
|
106 |
|
/** |
107 |
|
* Returns the atoms of this rigid body |
108 |
|
* @return the atoms of this rigid body in a vector |
109 |
+ |
* @deprecate |
110 |
|
*/ |
111 |
|
std::vector<Atom*> getAtoms() { |
112 |
|
return atoms_; |