# | Line 26 | Line 26 | class RigidBody : public StuntDouble { (public) | |
---|---|---|
26 | public: | |
27 | ||
28 | RigidBody(); | |
29 | + | //RigidBody(const RigidBody& rb); |
30 | + | |
31 | virtual ~RigidBody(); | |
32 | ||
33 | void addAtom(Atom* at, AtomStamp* ats); | |
# | Line 94 | Line 96 | class RigidBody : public StuntDouble { (public) | |
96 | virtual void accept(BaseVisitor* v); | |
97 | ||
98 | vector<Atom*> getAtoms() { return myAtoms;} | |
99 | < | |
99 | > | int getNumAtoms() {return myAtoms.size();} |
100 | > | |
101 | > | void getAtomPos(double theP[3], int index); |
102 | > | void getAtomRefCoor(double pos[3], int index); |
103 | protected: | |
104 | ||
105 | double mass; // the total mass |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |