ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/primitives/Molecule.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/primitives/Molecule.hpp (file contents):
Revision 1973 by tim, Fri Feb 4 22:41:23 2005 UTC vs.
Revision 1989 by tim, Mon Feb 7 22:39:19 2005 UTC

# Line 186 | Line 186 | class Molecule {
186              return atoms_[i];
187          }
188  
189 +        RigidBody* getRigidBodyAt(unsigned int i) {
190 +            assert(i < rigidBodies_.size());
191 +            return rigidBodies_[i];
192 +        }
193 +        
194          Atom* beginAtom(std::vector<Atom*>::iterator& i) {
195              i = atoms_.begin();
196              return (i == atoms_.end()) ? NULL : *i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines